Re: [Tools-discuss] draft submitted source versions

Henrik Levkowetz <henrik@levkowetz.com> Wed, 27 November 2019 17:09 UTC

Return-Path: <henrik@levkowetz.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 5B42812097E for <tools-discuss@ietfa.amsl.com>; Wed, 27 Nov 2019 09:09:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 vJSMAx3NlJYy for <tools-discuss@ietfa.amsl.com>; Wed, 27 Nov 2019 09:08:58 -0800 (PST)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [64.170.98.42]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 89B5912004D for <tools-discuss@ietf.org>; Wed, 27 Nov 2019 09:08:58 -0800 (PST)
Received: from h-202-242.a357.priv.bahnhof.se ([158.174.202.242]:49191 helo=tannat.localdomain) by zinfandel.tools.ietf.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <henrik@levkowetz.com>) id 1ia0oB-0001zA-Vh; Wed, 27 Nov 2019 09:08:56 -0800
To: Tom Pusateri <pusateri=40bangj.com@dmarc.ietf.org>, Bob Hinden <bob.hinden@gmail.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>
Cc: Julian Reschke <julian.reschke@gmx.de>, Michael Richardson <mcr+ietf@sandelman.ca>, tools-discuss@ietf.org
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <06222415-29d7-7212-b2d1-2093290f0f30@levkowetz.com>
Date: Wed, 27 Nov 2019 18:08:48 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <AF4C0E21-CFC9-48BE-BC46-B112FF62F3C5@bangj.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="6DBPDm3fQOrgAfow7JJeLMAaPgLlWg7x6"
X-SA-Exim-Connect-IP: 158.174.202.242
X-SA-Exim-Rcpt-To: tools-discuss@ietf.org, mcr+ietf@sandelman.ca, julian.reschke@gmx.de, bob.hinden@gmail.com, pusateri=40bangj.com@dmarc.ietf.org
X-SA-Exim-Mail-From: henrik@levkowetz.com
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on zinfandel.tools.ietf.org)
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/0wVE7jDsfLxED05PTk92dRcRi2U>
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:09:00 -0000

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.


	Henrik