Re: [Cbor] I-D Action: draft-ietf-cbor-cddl-control-06.txt

Carsten Bormann <cabo@tzi.org> Mon, 27 September 2021 11:45 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B4D283A15B7 for <cbor@ietfa.amsl.com>; Mon, 27 Sep 2021 04:45:19 -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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, WEIRD_QUOTING=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 QDHdtyfXojVz for <cbor@ietfa.amsl.com>; Mon, 27 Sep 2021 04:45:15 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0139C3A15B4 for <cbor@ietf.org>; Mon, 27 Sep 2021 04:45:14 -0700 (PDT)
Received: from [192.168.217.118] (p548dcf6e.dip0.t-ipconnect.de [84.141.207.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4HJ1600Xy9z31Nh; Mon, 27 Sep 2021 13:45:12 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <163273443846.4770.15068809455415428735@ietfa.amsl.com>
Date: Mon, 27 Sep 2021 13:45:11 +0200
X-Mao-Original-Outgoing-Id: 654435911.637308-e8f1a6993c11956c300aa488be4b2d0b
Content-Transfer-Encoding: quoted-printable
Message-Id: <BC5D0107-7EF0-4790-84FD-C66F3D1315DE@tzi.org>
References: <163273443846.4770.15068809455415428735@ietfa.amsl.com>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/9cNmiPju3jX8nA3rmdyLos6R4Sg>
Subject: Re: [Cbor] I-D Action: draft-ietf-cbor-cddl-control-06.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Sep 2021 11:45:20 -0000

-06 has all the changes resulting from directorate reviews, as well as the move to standards-track.

Unfortunately, it also has the changes resulting from the recent flag-day [1] modification to RFCXMLv3 semantics.
This modification solves the “”foo”” problem that was noted in the reviews, but creates new ones in the plaintext version, e.g.:

OLD:
   The example in Figure 2 builds a text string named "a" out of
   concatenating the target text string ""foo"" and the controller byte	 

NEW:
   The example in Figure 2 builds a text string named a out of	
   concatenating the target text string "foo" and the controller byte

…as can be seen in https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-cddl-control-06 (see also the similar problem with “text”/text).

This is now no longer readable in the plaintext, but still OK in the HTML (there was no change to the HTML/PDF semantics).
I’m sure this will be resolved by the RFC-editor along with similar problems that might occur in other drafts, so I didn’t attempt to invent a fix.
(Of course, my system is still showing the plaintext generated with the 2014–2021 RFCXMLv3 semantics, so I could not see the impairment before submitting.)

Grüße, Carsten

[1] http://www.catb.org/jargon/html/F/flag-day.html

> On 2021-09-27, at 11:20, internet-drafts@ietf.org wrote:
> 
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.
> 
>        Title           : Additional Control Operators for CDDL
>        Author          : Carsten Bormann
> 	Filename        : draft-ietf-cbor-cddl-control-06.txt
> 	Pages           : 13
> 	Date            : 2021-09-27
> 
> Abstract:
>   The Concise Data Definition Language (CDDL), standardized in RFC
>   8610, provides "control operators" as its main language extension
>   point.
> 
>   The present document defines a number of control operators that were
>   not yet ready at the time RFC 8610 was completed: .plus, .cat and
>   .det for the construction of constants, .abnf/.abnfb for including
>   ABNF (RFC 5234/RFC 7405) in CDDL specifications, and .feature for
>   indicating the use of a non-basic feature in an instance.
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-cbor-cddl-control/
> 
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-cbor-cddl-control-06.html
> 
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-cddl-control-06
> 
> 
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> 
> 
> _______________________________________________
> I-D-Announce mailing list
> I-D-Announce@ietf.org
> https://www.ietf.org/mailman/listinfo/i-d-announce
> Internet-Draft directories: http://www.ietf.org/shadow.html
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt