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

Kio Smallwood <kio@mothers-arms.co.uk> Thu, 18 February 2021 14:42 UTC

Return-Path: <kio@mothers-arms.co.uk>
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 533583A12E2 for <cbor@ietfa.amsl.com>; Thu, 18 Feb 2021 06:42:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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 o7k69p6UUrc9 for <cbor@ietfa.amsl.com>; Thu, 18 Feb 2021 06:42:38 -0800 (PST)
Received: from b-painless.mh.aa.net.uk (b-painless.mh.aa.net.uk [IPv6:2001:8b0:0:30::52]) (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 45C8D3A12DF for <cbor@ietf.org>; Thu, 18 Feb 2021 06:42:37 -0800 (PST)
Received: from cpc105076-sgyl40-2-0-cust233.18-2.cable.virginm.net ([82.4.24.234] helo=Galaxy-S10e.lan) by painless-b.tch.aa.net.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <kio@mothers-arms.co.uk>) id 1lCkVn-00019s-PQ; Thu, 18 Feb 2021 14:42:35 +0000
Date: Thu, 18 Feb 2021 14:42:36 +0000
User-Agent: K-9 Mail for Android
In-Reply-To: <ED6F6174-2643-4B7F-8ED7-414DD5FD9C39@tzi.org>
References: <87zh02kpf5.fsf@hobgoblin.ariadne.com> <0faeb37c36d5b1f40c37f82e62be1be9@mothers-arms.co.uk> <ED6F6174-2643-4B7F-8ED7-414DD5FD9C39@tzi.org>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----MN93JGVQ83AL9Y4BGP6JGO356QS1O4"
Content-Transfer-Encoding: 7bit
To: cbor@ietf.org,Carsten Bormann <cabo@tzi.org>
CC: "Dale R. Worley" <worley@ariadne.com>
From: Kio Smallwood <kio@mothers-arms.co.uk>
Message-ID: <F6BDBA57-34F4-46FE-9806-6A227AC214EA@mothers-arms.co.uk>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/me8xkybx-Nmm9pu6LAa7uZXqzRc>
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: Thu, 18 Feb 2021 14:42:40 -0000

I'll modify it to remove the claim until it moves further.

I definitely want to avoid confusion!

Kio

On 18 February 2021 14:15:39 GMT, Carsten Bormann <cabo@tzi.org> wrote:
>
>
>> On 2021-02-18, at 14:57, Kio Smallwood <kio@mothers-arms.co.uk>
>wrote:
>> 
>> Hi Dale,
>> 
>> I have made a similar proposal here:
>https://github.com/Sekenre/cbor-ordered-map-spec/blob/master/CBOR_Ordered_Map.md
>
>… and here we see the danger of just “claiming” a number…
>
>(272 is Non-UTF-8 CESU-8 string).
>
>> I've tried to explain the rationale that it is adding a
>straightforward option for serializing a native data-type in Python 3
>and other languages that support order-preserving key-value maps.
>
>Yes.  And I agree with Dale that we should look a bit closer, but that
>is not a reason not to allocate a tag.
>
>Grüße, Carsten
>
>
>_______________________________________________
>CBOR mailing list
>CBOR@ietf.org
>https://www.ietf.org/mailman/listinfo/cbor

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.