Re: [Cbor] hildjj/cbor-map-entries: Explicit Map datatype for CBOR, in array format

Carsten Bormann <cabo@tzi.org> Sat, 20 February 2021 06:34 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 C89543A126D for <cbor@ietfa.amsl.com>; Fri, 19 Feb 2021 22:34:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 neSFdD7Ys5c5 for <cbor@ietfa.amsl.com>; Fri, 19 Feb 2021 22:34:10 -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 BE2163A1190 for <cbor@ietf.org>; Fri, 19 Feb 2021 22:34:09 -0800 (PST)
Received: from [192.168.217.152] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4DjJZ75hr0zyXf; Sat, 20 Feb 2021 07:34:07 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <875z2no0m7.fsf@hobgoblin.ariadne.com>
Date: Sat, 20 Feb 2021 07:34:07 +0100
Cc: Laurence Lundblade <lgl@island-resort.com>, hildjj@cursive.net, kio@mothers-arms.co.uk, cbor@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <02DCE279-99D0-4CA7-9C90-D5AAB9C66AE6@tzi.org>
References: <875z2no0m7.fsf@hobgoblin.ariadne.com>
To: "Dale R. Worley" <worley@ariadne.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/u4C9BM0FbP4t4BSFJynGrDeMV1Q>
Subject: Re: [Cbor] hildjj/cbor-map-entries: Explicit Map datatype for CBOR, in array format
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: Sat, 20 Feb 2021 06:34:14 -0000

On 20. Feb 2021, at 04:54, Dale R. Worley <worley@ariadne.com> wrote:
> 
> Now I'm pretty sure that what is *intended* is that maps encoded as tag
> 279 plus major type 4 require the keys to be strings.  Though it's
> conceivable that it intends that keys in major type 5 be strings; that
> would fix the described problem as well.

I don’t think that’s what the current discussion is about.
(Actually, tag 275 was registered for just that.)

Grüße, Carsten