[Xml-sg-cmt] Fwd: docName - Re: Fwd: [django-project] Weird Internal Metadata error in I-D HTML

Sandy Ginoza <sginoza@amsl.com> Fri, 03 September 2021 22:11 UTC

Return-Path: <sginoza@amsl.com>
X-Original-To: xml-sg-cmt@ietfa.amsl.com
Delivered-To: xml-sg-cmt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D662A3A30D4 for <xml-sg-cmt@ietfa.amsl.com>; Fri, 3 Sep 2021 15:11:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, 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 1TJGmlFhHRX7 for <xml-sg-cmt@ietfa.amsl.com>; Fri, 3 Sep 2021 15:11:53 -0700 (PDT)
Received: from mail.amsl.com (c8a.amsl.com [4.31.198.40]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 808633A30D1 for <xml-sg-cmt@ietf.org>; Fri, 3 Sep 2021 15:11:53 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by c8a.amsl.com (Postfix) with ESMTP id 6CCC23899CA for <xml-sg-cmt@ietf.org>; Fri, 3 Sep 2021 15:11:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from c8a.amsl.com ([127.0.0.1]) by localhost (c8a.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R3CdGMyRButx for <xml-sg-cmt@ietf.org>; Fri, 3 Sep 2021 15:11:53 -0700 (PDT)
Received: from 2603-8000-9603-b513-fd74-1dc6-acbd-1a66.res6.spectrum.com (2603-8000-9603-b513-fd74-1dc6-acbd-1a66.res6.spectrum.com [IPv6:2603:8000:9603:b513:fd74:1dc6:acbd:1a66]) by c8a.amsl.com (Postfix) with ESMTPSA id 3B534389879 for <xml-sg-cmt@ietf.org>; Fri, 3 Sep 2021 15:11:53 -0700 (PDT)
From: Sandy Ginoza <sginoza@amsl.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_E987A662-E0A1-4560-BDFA-7C957E13CEDD"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Message-Id: <728E07A7-EEB6-41A1-BA10-2E397F4FDB1F@amsl.com>
References: <06C35681-F5E3-473F-BAF6-2ABF82A6DC8B@amsl.com>
To: XML weed whackers <xml-sg-cmt@ietf.org>
Date: Fri, 03 Sep 2021 15:11:51 -0700
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml-sg-cmt/6IccmgMsV7e-ch33j2Uz9yHt_fo>
Subject: [Xml-sg-cmt] Fwd: docName - Re: Fwd: [django-project] Weird Internal Metadata error in I-D HTML
X-BeenThere: xml-sg-cmt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Working list for the xml and style guide change management team <xml-sg-cmt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml-sg-cmt>, <mailto:xml-sg-cmt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml-sg-cmt/>
List-Post: <mailto:xml-sg-cmt@ietf.org>
List-Help: <mailto:xml-sg-cmt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml-sg-cmt>, <mailto:xml-sg-cmt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Sep 2021 22:12:04 -0000

Hi All,

Forwarding this mail in hopes we can discuss docName a bit. 

Have a great weekend!

Thanks!
Sandy 

> Begin forwarded message:
> 
> From: Sandy Ginoza <sginoza@amsl.com>
> Subject: Re: docName - Re: Fwd: [django-project] Weird Internal Metadata error in I-D HTML
> Date: September 1, 2021 at 6:28:06 PM PDT
> To: Alice Russo <arusso@amsl.com>
> Cc: Robert Sparks <rjsparks@nostrum.com>, Jean Mahoney <jmahoney@amsl.com>
> 
> Hi Robert,
> 
> Regarding docname=“draft”, is inclusion of the version number required?  We’ve started running into the question of whether the version number should match a) the approved version, b) the current datatracker version (versions submitted after the document enters the queue), or c) the version approved by the ADs (could be a or b).  
> 
> Please let me know if you prefer I send this to the full xml-sg-cmt. 
> 
> Thanks!
> Sandy 
> 
> 
>> On Aug 24, 2021, at 9:57 AM, Alice Russo <arusso@amsl.com> wrote:
>> 
>> Hi Robert,
>> 
>> You wrote:
>>> I note (and I am actually surprised - I've forgotten how we got here) that we are _publishing_ RFCs with docName not matching seriesInfo value, and I bet this will cause confusion in the future.
>> 
>> I'm forwarding the mail below from 2019 for background re: setting docName to the draft string.  (As a result of the exchange below, grep shows "docName=\"draft" in the 439 RFCs published in the v3 era.)
>> 
>> Alice
>> 
>>> Begin forwarded message:
>>> 
>>> From: Henrik Levkowetz <henrik@levkowetz.com>
>>> Subject: Re: docName - was: Re: [v3] "é" (acute/aigu accent) no longer accepted
>>> Date: September 16, 2019 at 12:18:13 PM PDT
>>> To: Alice Russo <arusso@amsl.com>
>>> Cc: RFC Editor <rfc-editor@rfc-editor.org>
>>> 
>>> Hi Alice,
>>> 
>>> On 2019-09-16 20:56, Alice Russo wrote:
>>>> Hi Henrik,
>>>> 
>>>> On the topic of docName:
>>>> 
>>>> Re:
>>>>> On Sep 16, 2019, at 11:36 AM, Henrik Levkowetz <henrik@levkowetz.com> wrote:
>>>>> 
>>>>>> draft-ietf-mptcp-rfc6824bis-18.xml(4): Warning: Expected a <link> with rel="prev" providing the datatracker url for the origin draft, or alternatively a "docName" attribute on <rfc> from which to construct such a <link> element.
>>>>> 
>>>>> You should fix this one, too.  Provide docName="..." with the draft name
>>>>> from which the RFC comes.
>>>> 
>>>> OK; we can update our internal documentation accordingly.
>>>> 
>>>> I must have misunderstood from a past thread bc I thought we weren't
>>>> setting docName at all. If we set it to the draft string, it creates
>>>> this in the HTML output: 
>>>> <link href="https://datatracker.ietf.org/doc/draft-foo-09" rel="prev">
>>> 
>>> That's right, that's the intention.
>>> 
>>>> Is the following accurate?
>>>> - This link element is not displayed in the browser-rendered HTML
>>>> (only viewable in the HTML source).
>>> 
>>> Yes.
>>> 
>>>> - This link element exists because it is specified in
>>>> <https://tools.ietf.org/html/rfc7998#section-5.6.3>.
>>> 
>>> Yes.
>>> 
>>>> Is there more understanding we should have?  From the RPC
>>>> perspective, it seems odd that the docName is set to the drafts
>>>> string (i.e., the RFC is no longer draft-foo-09).
>>> 
>>> Yes, I can see that.  The attribute name is not appropriate for the use
>>> it has when the document becomes an RFC.  "draftName" or "draft-name" would
>>> have been better.  But docName has been with us since Marshall Rose's first
>>> implementation of xml2rfc, I think, so I doubt we can fix that.
>>> 
>>> 
>>> Best regards,
>>> 
>>> 	Henrik
>>> 
>>>> 
>>>> Thanks,
>>>> Alice
>>>> 
>>>> Background from May thread:
>>>> 
>>>> On May 10, 2019, you wrote:
>>>>> No, the docName should not change to a number; the docName is used to add
>>>>> metadata about the draft from which an RFC is derived when writing a v3
>>>>> RFC in html format, and to insert the draft name when writing draft output.
>>>> 
>>>> And then later the same day:
>>>>>>> Warning: Expected a <link> with rel='prev' providing the datatracker url for the origin draft.
>>>>>> 
>>>>>> The v2v3 converter inserts a <link> with rel='prev' if docName is given;
>>>>>> for v3 xml you should set that.  I think, however, that this warning should
>>>>>> more correctly be a note or comment.
>>>>> 
>>>>> No, I'm wrong.  It should be at least a warning, possibly an error.  This is
>>>>> covered in https://tools.ietf.org/html/rfc7998#section-5.6.3 .  This is
>>>>> emitted only in RFC production mode.
>>>> 
>>>> 
>>>> 
>>>> 
>>> 
>> 
>