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

Henrik Levkowetz <henrik@levkowetz.com> Wed, 03 October 2018 09:57 UTC

Return-Path: <henrik@levkowetz.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 A8A0E1311C9 for <xml2rfc-dev@ietfa.amsl.com>; Wed, 3 Oct 2018 02:57:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 ndAFgEXVgvxB for <xml2rfc-dev@ietfa.amsl.com>; Wed, 3 Oct 2018 02:57:06 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [IPv6:2001:1890:126c::1:2a]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 358A7130F89 for <xml2rfc-dev@ietf.org>; Wed, 3 Oct 2018 02:57:06 -0700 (PDT)
Received: from h-37-140.a357.priv.bahnhof.se ([94.254.37.140]:61624 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 1g7dtx-0003mm-9o; Wed, 03 Oct 2018 02:57:05 -0700
To: Jim Schaad <ietf@augustcellars.com>, 'XML Developer List' <xml2rfc-dev@ietf.org>
References: <d97ebfcf-ee4f-02ef-39c7-ac439ba1e421@levkowetz.com> <02bc01d45ac5$7ae71a10$70b54e30$@augustcellars.com>
From: Henrik Levkowetz <henrik@levkowetz.com>
Message-ID: <a5770e1c-7022-25ce-9a3e-bc5e35a65445@levkowetz.com>
Date: Wed, 03 Oct 2018 11:56:57 +0200
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: <02bc01d45ac5$7ae71a10$70b54e30$@augustcellars.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="fWVVn9A2vcpOKtdMQsvAMaOX3IIaGlvA6"
X-SA-Exim-Connect-IP: 94.254.37.140
X-SA-Exim-Rcpt-To: xml2rfc-dev@ietf.org, ietf@augustcellars.com
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/xml2rfc-dev/5Ruiwe7OKyjLhn1Kps88-lFLQUk>
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 09:57:08 -0000

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?


Best regards,

	Henrik