Re: [Cbor] Request for IANA registry addition for cbor tag

Carsten Bormann <cabo@tzi.org> Tue, 21 January 2020 11:27 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 5AE57120045 for <cbor@ietfa.amsl.com>; Tue, 21 Jan 2020 03:27:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, 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 COeGAaUNBdlc for <cbor@ietfa.amsl.com>; Tue, 21 Jan 2020 03:26:55 -0800 (PST)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 55BAF1200F9 for <cbor@ietf.org>; Tue, 21 Jan 2020 03:26:55 -0800 (PST)
Received: from sev.informatik.uni-bremen.de (sev.informatik.uni-bremen.de [134.102.218.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4825pj4Zhfzyrt; Tue, 21 Jan 2020 12:26:53 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <8eefb11ba6e49f7f19fd645d11d47a7f@mothers-arms.co.uk>
Date: Tue, 21 Jan 2020 12:26:53 +0100
Cc: cbor@ietf.org
X-Mao-Original-Outgoing-Id: 601298813.031243-3e2c816d5177cb75cf6ce836076fec12
Content-Transfer-Encoding: quoted-printable
Message-Id: <75E3B32F-CEF8-4338-917D-2264006287FF@tzi.org>
References: <8eefb11ba6e49f7f19fd645d11d47a7f@mothers-arms.co.uk>
To: Kio Smallwood <kio@mothers-arms.co.uk>
X-Mailer: Apple Mail (2.3608.40.2.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/sNsl5zsz-WgL4Vy5dAJEOfkmehU>
Subject: Re: [Cbor] Request for IANA registry addition for cbor tag
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: Tue, 21 Jan 2020 11:27:01 -0000

Hi Kio,

overall, your registration request looks good to me.
(Nit: The way you are using single quotes in your diagnostic notation triggers appendix G.2 of RFC 8610 [0], which apparently is not what you want.)
In the editorial revision of RFC 7049 that we are creating right now [1], we are moving away from the concept of a strict decoder; instead we are identifying the specific checking tasks in more detail (here: map validity [2]).

Thank you for also bringing this to the WG.
A lot of people have been suggesting one or another form of ordered map (including ordered multimaps, which would remove the need for avoiding duplicate keys).  Maybe we can have a short discussion if the registration of this kind of ordered maps is a good reason to complete registration of related kinds.

Grüße, Carsten

[0]: https://tools.ietf.org/html/rfc8610#appendix-G.2
[1]: https://github.com/cbor-wg/CBORbis
[2]: https://cbor-wg.github.io/CBORbis/draft-ietf-cbor-7049bis.html#rfc.section.5.3.1

> On 2020-01-21, at 12:14, Kio Smallwood <kio@mothers-arms.co.uk> wrote:
> 
> Hi CBOR list,
> 
> I'd like to register the following tag for representing key-value maps where the order of keys is significant and must be passed through encode/decode steps without re-ordering:
> 
> 
> Requesting tag #272
> Data item: array
> Semantics: Ordered Map
> Point of contact: kio.smallwood@flexitricity.com
> Description of semantics (URL): https://github.com/Sekenre/cbor-ordered-map-spec/blob/master/CBOR_Ordered_Map.md
> 
> 
> Thanks!
> 
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor