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

Carsten Bormann <cabo@tzi.org> Mon, 19 November 2018 16:11 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 0E7CE1286E7 for <cbor@ietfa.amsl.com>; Mon, 19 Nov 2018 08:11:15 -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] 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 bPUjJ0VUjEUv for <cbor@ietfa.amsl.com>; Mon, 19 Nov 2018 08:11:12 -0800 (PST)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8D016130DDD for <cbor@ietf.org>; Mon, 19 Nov 2018 08:11:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost2.informatik.uni-bremen.de [IPv6:2001:638:708:30c8:406a:91ff:fe74:f2b7]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id wAJGAwSg023328 for <cbor@ietf.org>; Mon, 19 Nov 2018 17:11:03 +0100 (CET)
Received: from [192.168.217.114] (p54A6CE66.dip0.t-ipconnect.de [84.166.206.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 42zDN21hBBz1Bqf; Mon, 19 Nov 2018 17:10:58 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <154264199757.5256.8061470840524592223@ietfa.amsl.com>
Date: Mon, 19 Nov 2018 17:10:57 +0100
X-Mao-Original-Outgoing-Id: 564336653.4558541-bdb1877babbd7f8e16ca9c0ee53aa41c
Content-Transfer-Encoding: quoted-printable
Message-Id: <126AE66D-3D12-4E4B-97A6-F9C7D29E0A7C@tzi.org>
References: <154264199757.5256.8061470840524592223@ietfa.amsl.com>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/LDRwRyOMlrwXjEMUaxoMNhsJF_U>
Subject: Re: [Cbor] I-D Action: draft-ietf-cbor-cddl-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, 19 Nov 2018 16:11:15 -0000

We have submitted a version of CDDL that should address all the comments from AD review and IETF last call, including the discussions at the Bangkok IETF meeting.

Diff is at: https://tools.ietf.org/rfcdiff?url2=draft-ietf-cbor-cddl-06.txt

Most of the changes were editorial.  A technical decision that we made at the Bangkok meeting was prompted by the Gen-ART comment number 3: the behavior of reverse ranges (e.g., 10..0) was not defined.  The text now says:

2.2.2.1.  Ranges

   Instead of naming all the values that make up a choice, CDDL allows
   building a _range_ out of two values that are in an ordering
   relationship: A lower bound (first value) and an upper bound (second
   value).  A range can be inclusive of both bounds given (denoted by
   joining two values by ".."), or include the lower bound and exclude
   the upper bound (denoted by instead using "...").  If the lower bound
   exceeds the upper bound, the resulting type is the empty set (this
   behavior can be desirable when generics, Section 3.10, are being
   used).

So, of the potential meanings of 10..0, we chose the empty set.
This is now in -06; if that is a problem for you, we would like to know about that.

Grüße, Carsten


> On Nov 19, 2018, at 16:39, 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           : Concise data definition language (CDDL): a notational convention to express CBOR and JSON data structures
>        Authors         : Henk Birkholz
>                          Christoph Vigano
>                          Carsten Bormann
> 	Filename        : draft-ietf-cbor-cddl-06.txt
> 	Pages           : 60
> 	Date            : 2018-11-19
> 
> Abstract:
>   This document proposes a notational convention to express CBOR data
>   structures (RFC 7049, Concise Binary Object Representation).  Its
>   main goal is to provide an easy and unambiguous way to express
>   structures for protocol messages and data formats that use CBOR or
>   JSON.
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-cbor-cddl/
> 
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-cbor-cddl-06
> https://datatracker.ietf.org/doc/html/draft-ietf-cbor-cddl-06
> 
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-cddl-06
> 
> 
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
> 
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> 
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor
>