[Cbor] On arrays

"Paul Hoffman" <paul.hoffman@vpnc.org> Wed, 22 January 2020 02:31 UTC

Return-Path: <paul.hoffman@vpnc.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 5E3361200C3 for <cbor@ietfa.amsl.com>; Tue, 21 Jan 2020 18:31:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.623
X-Spam-Level:
X-Spam-Status: No, score=-1.623 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.275, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no 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 osyw5QLvQoJv for <cbor@ietfa.amsl.com>; Tue, 21 Jan 2020 18:31:32 -0800 (PST)
Received: from mail.proper.com (Opus1.Proper.COM [207.182.41.91]) (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 BF15412002F for <cbor@ietf.org>; Tue, 21 Jan 2020 18:31:32 -0800 (PST)
Received: from [10.32.60.83] (76-209-242-70.lightspeed.mtryca.sbcglobal.net [76.209.242.70]) (authenticated bits=0) by mail.proper.com (8.15.2/8.15.2) with ESMTPSA id 00M2VHe5022720 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 21 Jan 2020 19:31:17 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: mail.proper.com: Host 76-209-242-70.lightspeed.mtryca.sbcglobal.net [76.209.242.70] claimed to be [10.32.60.83]
From: Paul Hoffman <paul.hoffman@vpnc.org>
To: Laurence Lundblade <lgl@island-resort.com>
Cc: cbor@ietf.org
Date: Tue, 21 Jan 2020 18:31:30 -0800
X-Mailer: MailMate (1.13.1r5671)
Message-ID: <20456193-A3D8-4E36-99E4-136E132DEA09@vpnc.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/BEsDD9lXxsJTejOuZ7QvosxV-ow>
Subject: [Cbor] On arrays
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: Wed, 22 Jan 2020 02:31:33 -0000


On 21 Jan 2020, at 18:25, Laurence Lundblade wrote:

> So it appears to me that no where does it say “arrays are ordered” 
> in 7049 or CBORbis. This seems like an omission that should be fixed. 
> They are ordered aren’t they? COSE would break if they weren’t.

The definition of array in the document is:

a sequence of zero or more data items

Isn't "sequence" sufficient? Is there really such a thing as an 
unordered sequence?

--Paul Hoffman