Re: [Tools-discuss] draft submitted source versions

Tom Pusateri <pusateri@bangj.com> Wed, 27 November 2019 17:59 UTC

Return-Path: <pusateri@bangj.com>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6ABE5120B75 for <tools-discuss@ietfa.amsl.com>; Wed, 27 Nov 2019 09:59:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bangj.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q9JHcDAfumKu for <tools-discuss@ietfa.amsl.com>; Wed, 27 Nov 2019 09:59:19 -0800 (PST)
Received: from oj.bangj.com (69-77-154-174.static.skybest.com [69.77.154.174]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7C2A9120900 for <tools-discuss@ietf.org>; Wed, 27 Nov 2019 09:59:19 -0800 (PST)
Received: from [172.16.10.110] (mta-107-13-246-59.nc.rr.com [107.13.246.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by oj.bangj.com (Postfix) with ESMTPSA id 6B35B2F634; Wed, 27 Nov 2019 12:59:18 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bangj.com; s=201907; t=1574877558; bh=ypb+A4hkZJwZ18EkChql2iX+4xi8Myu2bEo8dLU4NQE=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=IFsk926GoDs+JyM2OEYE+j0+tVIyiMQ69UlvWDghi5TCmnIdHSFf7L+OBwKALfy2Q SUHGQlcj864Ovkvk6rGKkjjoot1mv+CVXaIZtr7Q1WHUJ1mFAurieHjj1iHj6KL6IW uOFKAMfcjPCbrlL7PpcbYJ8D4sH+XfKeOsLoNNXB+WoaB+wzncX8egIcSYjSIyyeTy PXSB6WuOD0p+7NZKFPrcVMN2JSsAJnhBRHrBzco9AxjCue2QQH4vU/fl83/gU3CFgu B4Z+wc5cPUJBql1jpKeRarZ91X9sLD1GcX/VQDDMORK+jSWifYjjBMT6bxcU8erPY0 c2MRZLjwCxk4Q==
From: Tom Pusateri <pusateri@bangj.com>
Message-Id: <328519F4-E38C-4F2F-A12F-0359FE6FA044@bangj.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_FB1CA895-90D4-46F3-9DCD-DA88EF5FE8CE"
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\))
Date: Wed, 27 Nov 2019 12:59:17 -0500
In-Reply-To: <06222415-29d7-7212-b2d1-2093290f0f30@levkowetz.com>
Cc: Bob Hinden <bob.hinden@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Michael Richardson <mcr+ietf@sandelman.ca>, tools-discuss@ietf.org
To: Henrik Levkowetz <henrik@levkowetz.com>
References: <31178.1574667473@dooku.sandelman.ca> <2AD3F313-D831-41D0-87EC-AF722427B4AD@bangj.com> <11131.1574848336@dooku.sandelman.ca> <6c45cbfb-5f5e-06eb-d222-57106e957ae1@gmx.de> <E7D4281D-97E6-40B1-8156-F2D1D474BA8E@gmail.com> <AF4C0E21-CFC9-48BE-BC46-B112FF62F3C5@bangj.com> <06222415-29d7-7212-b2d1-2093290f0f30@levkowetz.com>
X-Mailer: Apple Mail (2.3601.0.10)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/5Mz9b3vOVzJKLQnMgtLr-Xa5cqo>
Subject: Re: [Tools-discuss] draft submitted source versions
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Nov 2019 17:59:23 -0000


> On Nov 27, 2019, at 12:08 PM, Henrik Levkowetz <henrik@levkowetz.com> wrote:
> 
> 
> On 2019-11-27 17:48, Tom Pusateri wrote:
>> 
>> 
>>> On Nov 27, 2019, at 11:30 AM, Bob Hinden <bob.hinden@gmail.com> wrote:
>>> 
>>> Julian,
>>> 
>>>> On Nov 27, 2019, at 2:22 AM, Julian Reschke <julian.reschke@gmx.de> wrote:
>>>> 
>>>> On 27.11.2019 10:52, Michael Richardson wrote:
>>>>> 
>>>>> Tom Pusateri <pusateri@bangj.com> wrote:
>>>>>>> Tom Pusateri <pusateri=40bangj.com@dmarc.ietf.org> wrote:
>>>>>>>> Is there anyway to tell if the TXT version was created from the
>>>>>>>> submitted XML or was uploaded separately?
>>>>>>> 
>>>>>>>> If an XML version is submitted, is there any reason to allow DRAFT
>>>>>>>> AUTHORS to submit alternate versions still?
>>>>>>> 
>>>>>>> If the XML won't format because the references.* files are AWOL, then
>>>>>>> allowing the author to upload the TXT version lets them get around that.
>>>>>>> 
>>>>>>> This happened to me last week.
>>>>> 
>>>>>> Sure but then don’t accept the XML AND the TXT. If the XML is bad,
>>>>>> reject it and accept the TXT.
>>>>> 
>>>>>> Otherwise you have two different source documents and there should be only one.
>>>>> 
>>>>> Yes, I see this problem, but I see a bigger problem of archival.
>>>>> ...
>>>> 
>>>> Archiving XML with external dependencies is problematic anyway :-) (ok,
>>>> archival not necessary, but assuming that the archived document can be
>>>> used to re-create the same output files)
>>> 
>>> I have mixed feeling about this topic.
>>> 
>>> For submitting an Internet draft, I am not sure it matters very much.  We don’t currently require XML, the TXT is enough.  I personally always submit TXT and XML, but I assume the XML is not processed if I also submit a TXT file.   I would like to know if the two don’t match, but my main goal in submitting an ID is to get it published.  I suspect if it is common that the XML doesn’t produce a TXT file that matches, some folks would just stop submitting the XML, especially as it gets near an ID deadline.
>>> 
>>> RFCs are a very different matter.  There I assume we want the XML.   It would be a big problem if the XML didn’t produce the same TXT file, as it was the TXT file that people used to review the draft and approve it.
>>> 
>>> We might want to add a step (to IDnits?) where the XML and TXT are verified.   That would avoid problems later in the publicaiton process.
>>> 
>>> Bob
>> 
>> So I used to submit both XML and TXT and then I started thinking, if I am submitting XML, then why am I submitting TXT too, so I started only submitting XML and this works fine.
>> 
>> So that led me to wonder if the TXT was a by-product of the XML, then isn’t it causing confusion to submit them both and to suggest that if the XML is submitted and it checks out, then not to accept the TXT.
>> 
>> I think there should be a way to suggest that XML is desired and if received, sufficient, but not required.
> 
> The datatracker draft submission page says:
> 
> "Either a plain-text document or a valid .xml file which can be processed by
>  the xml2rfc processor *must* be provided.
> 
>  If no .txt file is provided, one will be generated from the .xml file.
> 
>  Other file types are optional."
> 
> There are a number of valid options that can be used when processing .txt
> from an xml2rfc files, which will result in slightly different (and valid)
> .txt files.  Checking the result of converting submitted XML to .txt with
> submitted .txt is thus non-trivial.
> 
> Since there's no requirement to submit XML, people can submit any .txt they
> like.  And since we haven't seen a problem with XML / text mismatch, I don't
> think there is a problem to be solved here.  It's in authors' interest to
> provide good XML and text documents.
> 
> Any changes in the proposed direction seems to just make it harder for
> authors to submit drafts, and likely to encourage authors to *not* submit
> XML.

Sure, I get it.

I’m just thinking about good software engineering practices and tracking the source documents instead of the generated documents. I’m sure this will come up again when a real problem exists.

Thanks,
Tom