Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-cddl-05: (with COMMENT)

Benjamin Kaduk <kaduk@mit.edu> Mon, 19 November 2018 00:40 UTC

Return-Path: <kaduk@mit.edu>
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 DD804129385; Sun, 18 Nov 2018 16:40:41 -0800 (PST)
X-Quarantine-ID: <0oPco3NI_oVc>
X-Virus-Scanned: amavisd-new at amsl.com
X-Amavis-Alert: BAD HEADER SECTION, Non-encoded 8-bit data (char 9C hex): Received: ...s kaduk@ATHENA.MIT.EDU)\n\t\234by outgoing.mit[...]
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, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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 0oPco3NI_oVc; Sun, 18 Nov 2018 16:40:39 -0800 (PST)
Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu [18.9.25.13]) (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 E906D1293FB; Sun, 18 Nov 2018 16:40:38 -0800 (PST)
X-AuditID: 1209190d-bb7ff70000004457-9a-5bf20685b43f
Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id BE.1E.17495.58602FB5; Sun, 18 Nov 2018 19:40:37 -0500 (EST)
Received: from outgoing.mit.edu (OUTGOING-AUTH-1.MIT.EDU [18.9.28.11]) by mailhub-auth-1.mit.edu (8.14.7/8.9.2) with ESMTP id wAJ0eZnE004414; Sun, 18 Nov 2018 19:40:36 -0500
Received: from kduck.kaduk.org (24-107-191-124.dhcp.stls.mo.charter.com [24.107.191.124]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) �by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id wAJ0eU8w001911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 18 Nov 2018 19:40:33 -0500
Date: Sun, 18 Nov 2018 18:40:30 -0600
From: Benjamin Kaduk <kaduk@mit.edu>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: The IESG <iesg@ietf.org>, cbor@ietf.org, barryleiba@computer.org, cbor-chairs@ietf.org, draft-ietf-cbor-cddl@ietf.org
Message-ID: <20181119004030.GR11132@kduck.kaduk.org>
References: <154258532777.2578.8591857608340815014.idtracker@ietfa.amsl.com> <7cdb2d28-3f6c-a013-b5f3-337930854c45@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <7cdb2d28-3f6c-a013-b5f3-337930854c45@gmail.com>
User-Agent: Mutt/1.9.1 (2017-09-22)
X-Brightmail-Tracker: H4sIAAAAAAAAA01SbUgTYRznuZd5W7s4T8VHzQ/NAp1MrawG2cuHQPNDRX0onFSXd7rhdlt3 05wIWZaIYqml52ZlpFCIoJOsFHxpJOUqScOQyiCSRDEsv4Wbdufw5dvv//+98Tz8CZS+g8cS Ft7JCTxj1ak0GK2OSjDcUi2Z0lo+6o2+tgncWDk+iBhbgs+A0V0lYcbPU02IsTlQjx5TZd3s qEWz+jzTYVnt7f+Q02iOJoPlrJZiTkg9ckljbpxsxh09REnXiwq0HPSpqoGagFQ6DHi+ylhD 0FQnAruDM1ho8ALYK42B0DCNwGDzsCwjCIzaDaX6NMWtonbB8ppPqIIjqX3wevU7XNGj1A0A lxq9uEJEUBfg0O/7QMGkXLfwqhJTcmjqGvR2GULrcDjqVorVslcPp1bmEEWCUnHwyQqhrNXU YVjr9a1VRVEJcOC2L6wOUJ4tbs8Wt2fT/QigHSCetZUabIzFKnJ5BjGP4XlOMOxNsVmcKRxb 1APW/jqGfAlWprN9gCKATksOv/5ronGmWHTZfCCGQHRR5H5syURvv2xnXWZGNF8Uiqyc6AOQ QHWRpLvzj4kmWcZVygn2dSqOwHTR5HLkTxNNFTBOrpDjHJywzu4gCB0k3+ByaLjAFXAl+Rar c5NGCLUSrpXD3ysaUnQwNtFSEOL9wED4F2bdKI3xdp6LjSYlRUQpInMRv5Gj3BEsHCqbB9Hy syLICkWlla9sI2leLkHkktnJRaXEyWxSseVgKuFAtlRWRzrOpjdmbNPfTU49l8IODqwGpDPS xNNVbVtL+L3Eo49NP+JPsjV4nNWd6W+YmdMs93xzfX/Ympb4oMHwYbQ/ub3/RO/xfinYdP5g K973hR38xXt2YqeSAvmHxq+O5b69Yq8YybRktKKLVfNJ3S1tzxNzY/wjvUiODhPNzB49KojM f59zk+MiAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/DpE5KqV0uNKBSa-vmhUk6NHcP74>
Subject: Re: [Cbor] Benjamin Kaduk's No Objection on draft-ietf-cbor-cddl-05: (with COMMENT)
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 00:40:42 -0000

On Mon, Nov 19, 2018 at 01:37:29PM +1300, Brian E Carpenter wrote:
> On 2018-11-19 12:55, Benjamin Kaduk wrote:
> ...> Section 3.1
> > 
> >    o  CDDL uses UTF-8 [RFC3629] for its encoding.
> > 
> > It's pretty rare for it to be sufficient to just say "UTF-8" in a technical
> > spec; what kind of internationalization review has been done?  Do we need
> > to specify anything about normalization or canonicalization?
> 
> IMHO there is nothing to say here, but of course a protocol definition that
> uses UTF-8 needs to cover these questions. 
> 
> Worked example: 
> 
>   objective = [objective-name, objective-flags, loop-count, ?objective-value]
>   objective-name = text
>   objective-value = any
>   loop-count = 0..255
> 
>    All objectives are identified by a unique name which is a UTF-8
>    string [RFC3629], to be compared byte by byte.
> 
> [draft-ietf-anima-grasp-15 page 37]
> 
> It might be worth a note in CDDL to say that CDDL is agnostic on this
> but protocol specs need to cover it.

It might, yeah.

Thanks,

Benjamin