Re: [xml2rfc-dev] v3 <seriesInfo> vs IMPNOTES vs canonical XML

Heather Flanagan <rse@rfc-editor.org> Thu, 19 December 2019 17:56 UTC

Return-Path: <rse@rfc-editor.org>
X-Original-To: xml2rfc-dev@ietfa.amsl.com
Delivered-To: xml2rfc-dev@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4868B1209C7 for <xml2rfc-dev@ietfa.amsl.com>; Thu, 19 Dec 2019 09:56:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=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 saiMH4ZjLXDa for <xml2rfc-dev@ietfa.amsl.com>; Thu, 19 Dec 2019 09:56:21 -0800 (PST)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B9BE61209CA for <xml2rfc-dev@ietf.org>; Thu, 19 Dec 2019 09:56:21 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by rfc-editor.org (Postfix) with ESMTP id E4F9BF4071A; Thu, 19 Dec 2019 09:56:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at rfc-editor.org
Received: from rfc-editor.org ([127.0.0.1]) by localhost (rfcpa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AoK6E_NMJhTg; Thu, 19 Dec 2019 09:56:00 -0800 (PST)
Received: from [10.198.42.38] (c-71-231-216-10.hsd1.wa.comcast.net [71.231.216.10]) by rfc-editor.org (Postfix) with ESMTPSA id 1CC94F40717; Thu, 19 Dec 2019 09:56:00 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\))
From: Heather Flanagan <rse@rfc-editor.org>
In-Reply-To: <e3e50137-0588-92bf-7b00-670588fea8e7@gmx.de>
Date: Thu, 19 Dec 2019 09:56:19 -0800
Cc: XML Developer List <xml2rfc-dev@ietf.org>, John R Levine <johnl@taugh.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <5B698092-3354-4910-A0D3-BDD7E57F79D4@rfc-editor.org>
References: <dd955428-7129-c0e9-4064-ef963ada90c7@gmx.de> <159956F3-1DDA-436E-8565-689F4EA74609@rfc-editor.org> <6b631129-546a-0935-aeca-0ad31db47d62@gmx.de> <E98A6936-406B-4D65-A077-E23989CCA6B2@rfc-editor.org> <b6369b2c-61af-e948-ad87-da41bf581dbf@gmx.de> <e3e50137-0588-92bf-7b00-670588fea8e7@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.3608.40.2.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc-dev/sjJ5XS4udSOZXCxQCv0zBQ-rgx4>
Subject: Re: [xml2rfc-dev] v3 <seriesInfo> vs IMPNOTES vs canonical XML
X-BeenThere: xml2rfc-dev@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion about particulars of xml2rfc V3 design, development and code." <xml2rfc-dev.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc-dev/>
List-Post: <mailto:xml2rfc-dev@ietf.org>
List-Help: <mailto:xml2rfc-dev-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc-dev>, <mailto:xml2rfc-dev-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Dec 2019 17:56:26 -0000


> On Dec 19, 2019, at 3:38 AM, Julian Reschke <julian.reschke@gmx.de> wrote:
> 
> On 31.10.2019 14:03, Julian Reschke wrote:
>> On 29.10.2019 19:30, Heather Flanagan wrote:
>>> ...
>>> 
>>> Right now, I’m in the middle of trying to figure out how to capture
>>> the reality of <seriesInfo> and make appropriate changes. After that,
>>> it will be <sourcecode> and then (if my brain hasn’t melted)
>>> “keepWithNext”.
>>> 
>>> -Heather
>>> ...
>> 
>> That is indeed both important and complex. I'll try to give feedback
>> soonish.
>> 
>> Best regards, Julian
> 
> So this is currently captured in
> <https://tools.ietf.org/html/draft-levkowetz-xml2rfc-v3-implementation-notes-10#section-3.1.21>,
> quoting the summary:
> 
>> 3.1.21.5.  Summary
>> 
>>   The number of issues introduced with the move of the <seriesInfo>
>>   element and its re-purposing in order to fill functionality in the
>>   front of a document is wholly disproportionate with any added
>>   functionality.  The specification [RFC7991] does not provide any
>>   rationale for the changes, and there seems to be no major benefits to
>>   the new schema.
>> 
>>   Proposal:  Do a rewrite of this that does not add new details to the
>>      already complex <seriesInfo> semantics, compared to the v2
>>      vocabulary, and does not make non-IETF reference files obsolete,
>>      but actually simplifies the model and use.
>> 
>>      Limit the <seriesInfo> element to what is actually needed for use
>>      within <reference/>, and do not add new functionality related to
>>      the document <front>.  Deprecate any functionality not related to
>>      usage within <reference/>.
>> 
>>      The easiest approach would be to simply revert to the v2 semantics
>>      and placement of <seriesInfo> elements, with documentation of
>>      that.
>> 
>>   Implementation:  The current implementation does not strip or
>>      disregard the attributes on <rfc>; apart from that the schema is
>>      not reverted to v2 in the current implementation, but see also
>>      Section 3.1.17, Section 3.1.19 and Section 3.2.2.
> 
> I fully agree with this.
> 
> The bad news is that with the proposed change, the so-called "canonical
> XML" that has been published in the last three months would become invalid.
> 
> I believe we need to compile a list of issues that fall into the same
> category (the <br> discussion comes to mind as well), and then (1) fix
> these issues and then (2) both mechanically fix the published XML and
> re-generate the output formats (which in theory should not change at all
> if we do things right).

While that is technically possible (to mechanically update source files), it is against policy. What you’re suggesting is in effect changing the canonical source file, and we’ve said that’s not something we’re going to do.

I expect future vocabulary changes may well make older XML invalid (in the same way that v2 XML is not v3 valid). We’re not going to go back and change the files to match whatever the new reality is; I don’t see this as significantly different a situation. John and the rest of the community may decide different in the future, of course, but I never intended changing source files for any reason.

-Heather