Re: [xml2rfc-dev] RFC 7991 issue #21: Schema Issue, RFC 7991, In Section 2.5.5, "name" Attribute

Jim Schaad <ietf@augustcellars.com> Wed, 03 October 2018 14:55 UTC

Return-Path: <ietf@augustcellars.com>
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 76C7B1312C6 for <xml2rfc-dev@ietfa.amsl.com>; Wed, 3 Oct 2018 07:55:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, 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 Q6Xq3T10hlNL for <xml2rfc-dev@ietfa.amsl.com>; Wed, 3 Oct 2018 07:55:32 -0700 (PDT)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2AEB91312C5 for <xml2rfc-dev@ietf.org>; Wed, 3 Oct 2018 07:55:32 -0700 (PDT)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 3 Oct 2018 07:50:48 -0700
From: Jim Schaad <ietf@augustcellars.com>
To: 'Henrik Levkowetz' <henrik@levkowetz.com>, 'XML Developer List' <xml2rfc-dev@ietf.org>
References: <d97ebfcf-ee4f-02ef-39c7-ac439ba1e421@levkowetz.com> <02bc01d45ac5$7ae71a10$70b54e30$@augustcellars.com> <a5770e1c-7022-25ce-9a3e-bc5e35a65445@levkowetz.com>
In-Reply-To: <a5770e1c-7022-25ce-9a3e-bc5e35a65445@levkowetz.com>
Date: Wed, 03 Oct 2018 07:55:20 -0700
Message-ID: <030e01d45b29$1c7b33d0$55719b70$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQF+OZOBk6n1fKnGGQl4pCsbx09atgGmsqYVAnInDXalmRfZAA==
Content-Language: en-us
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc-dev/twGqY6SyVnCDs-UIID-H1GcX27g>
Subject: Re: [xml2rfc-dev] RFC 7991 issue #21: Schema Issue, RFC 7991, In Section 2.5.5, "name" Attribute
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: Wed, 03 Oct 2018 14:55:35 -0000


> -----Original Message-----
> From: Henrik Levkowetz <henrik@levkowetz.com>
> Sent: Wednesday, October 3, 2018 2:57 AM
> To: Jim Schaad <ietf@augustcellars.com>; 'XML Developer List' <xml2rfc-
> dev@ietf.org>
> Subject: Re: [xml2rfc-dev] RFC 7991 issue #21: Schema Issue, RFC 7991, In
> Section 2.5.5, "name" Attribute
> 
> Hi Jim,
> 
> On 2018-10-03 05:02, Jim Schaad wrote:
> >
> >
> >> -----Original Message-----
> >> From: xml2rfc-dev <xml2rfc-dev-bounces@ietf.org> On Behalf Of Henrik
> >> Levkowetz
> >> Sent: Monday, October 1, 2018 4:28 AM
> >> To: XML Developer List <xml2rfc-dev@ietf.org>
> >> Subject: [xml2rfc-dev] RFC 7991 issue #21: Schema Issue, RFC 7991, In
> >> Section 2.5.5, "name" Attribute
> >>
> >> This captures an issue noted during implementation, also described in
> >> https://tools.ietf.org/html/draft-levkowetz-xml2rfc-v3-implementation
> >> #section-
> >> 3.1.1
> >>
> >> Specification: https://tools.ietf.org/html/rfc7991#section-2.5.5
> >>
> >> ---
> >>
> >>       "A filename suitable for the contents (such as for extraction to a
> >>       local file)."
> >>
> >>    Given the existing use of "name" on <seriesInfo>, this attribute name
> >>    has a semantic dissonance.
> >>
> >>    Recommendation:  Deprecate "name" for use on <artwork> and
> >> <sourcecode>,
> >>                     and instead use "file", which for <sourcecode> will be
> >>                     explicitly rendered, as established as best current
> >>                     practice for YANG modules (see for instance RFC 6087
> >>                     [RFC6087])
> >>
> >>    Implementation:  The current version of xml2rfc uses "name".
> >
> > I have no problems with keeping this as "name" rather than "file".
> > There is not a great deal of difference to me.
> >
> > I am worried about the rendering of the "name" parameter if present.
> > Is this going to be conditional on the presence of the <CODE BEGINS>
> > rendering or is it done regardless.
> 
> The next release will render <CODE BEGINS> file "Appendix.3.2.cddl" only if a
> new attribute "markers" is set to "true", which is my proposed resolution for
> the question of whether to render code markers or not.
> 
> > I would like to be able to
> > associate file names that are not rendered to the public as I
> > generally chose those names that make sense if you read them. Such as
> > "Appendix.3.2.cddl"
> 
> Will the above resolution work for you, then, or do we need separate "name"
> and "file" attributes, or do we need 2 separate attributes to control rendering
> of code markers vs rendering of file name?

That resolution works for me.   There might be some source code people who might be surprised but I don't know how big of a problem that would be. 

Jim

> 
> 
> Best regards,
> 
> 	Henrik