From d8aea1c6f78f01f415cc449a7d42531b666414c1 Mon Sep 17 00:00:00 2001 From: Charles Lanahan Date: Thu, 15 Feb 2024 12:06:49 -0500 Subject: [PATCH] Added note that cbor/json/mgpk be field maps. Added note to cold stream section that the starting rules for a stream imply a normative requirement that only serializations of top level field maps of CBOR/JSON/MGPK are allowed under this specification. --- spec/spec.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/spec.md b/spec/spec.md index de38693..05e6036 100644 --- a/spec/spec.md +++ b/spec/spec.md @@ -576,6 +576,10 @@ This is summarized in the following table: |0b110|MGPK (Map16, Map32)| | |0b111|CESR ‘B’ domain Count Code or Op Code| | +::: note +The above table implies a normative requirement that all serializations of MGPK, CBOR, JSON in CESR be top level field maps. Serializations of these formats that aren't top level field maps are undefined and will most likely lead to a stream that won't decode. +::: + #### Stream parsing rules Given this set of Tritets (3 bits), a well-formed Stream start and restart requirement can be expressed.