Closed thomas-fossati closed 3 years ago
It is described in 2.9.1 just before resource-collection. This includes the "code point" and the definition of index 7.
Is your proposal to merge 2.9.1 into 2.9.2? At the moment, I think being next to each other could satisfy the requirement of "relevant bits are tightly packed".
Currently the full information about hash is spread across three different sections - 2.9.1, 2.9.2 and 2.10.
Is your proposal to merge 2.9.1 into 2.9.2?
Yep, and also copy hash = 7
from 2.10 into the "scoped" CDDL.
This is by no means a blocker or anything of that sort. It's just a suggestion to make the document more easily consumable. When I implemented it, I was going through each section and build the encoder/decoder from the description, and it all went great until I hit section 2.9.1 :-)
Well... it's hard to argue with that :-)
It's now on the list for the next authors meeting!
I consolidated the hash information into the specific section in PR #35.
There is no description of the
hash
entry in theresource-collection
group (Section 2.9.2). Also the CDDL in the same section does not define thehash
code point. It is probably better to keep all the relevant bits tightly packed.