@@ -464,7 +464,7 @@ <h1>CBOR Tags for CBOR-LD</h1>
464464by CBOR-LD. If a CBOR-LD payload contains context URLs compressed in such a way, the
465465consumer of the CBOR-LD needs to know what compression tables (maps from JSON-LD terms to integers)
466466were used to compress the context URLs during creation to be able to reconstruct the term codec
467- map. The following sections define the exact mechanism by which this can be accomplished, allowing
467+ map. The following sections define the exact mechanism by which this can be accomplished, allowing
468468an arbitrary CBOR-LD consumer to decompress any CBOR-LD payload that conforms to this specification.
469469 </ p >
470470 < p >
@@ -520,7 +520,7 @@ <h2>CBOR-LD Varint Registry</h2>
520520 < li >
521521`processingModel`: what processing model is used for this registry entry. A processing model
522522specifies how auto-generated CBOR-LD values are created from JSON-LD contexts as well as what
523- type encoders are used alongside the `Type Tables` (e.g. how to partially compress an
523+ type encoders are used alongside the `Type Tables` (e.g. how to partially compress an
524524`xsd:dateTime` value that does not appear in `Type Table`). The default processing model,
525525which will be defined later in this specification, will be used unless otherwise specified
526526in the Registry Entry.
@@ -601,7 +601,7 @@ <h3>Registry</h3>
601601 },
602602 {
603603 type: "https://w3id.org/security#cryptosuiteString",
604- table:
604+ table:
605605 {
606606 "ecdsa-rdfc-2019": 1,
607607 "ecdsa-sd-2023": 2,
@@ -633,14 +633,14 @@ <h3>Registry</h3>
633633 },
634634 {
635635 type: "https://w3id.org/security#cryptosuiteString",
636- table:
636+ table:
637637 {
638638 "ecdsa-rdfc-2019": 1
639639 }
640640 },
641641 {
642642 type: "url",
643- table:
643+ table:
644644 {
645645 "did:key:zDnaeW9VZZs7NH1ykvS5EMFmdodu2wj4dPcrV3DzTAadrXJee": 1,
646646 "did:key:zDnaeW9VZZs7NH1ykvS5EMFmdodu2wj4dPcrV3DzTAadrXJee#zDnaeW9VZZs7NH1ykvS5EMFmdodu2wj4dPcrV3DzTAadrXJee": 2,
@@ -672,14 +672,14 @@ <h3>Registry</h3>
672672 },
673673 {
674674 type: "https://w3id.org/security#cryptosuiteString",
675- table:
675+ table:
676676 {
677677 "ecdsa-rdfc-2019": 1
678678 }
679679 },
680680 {
681681 type: "url",
682- table:
682+ table:
683683 {
684684 "did:key:zDnaeW9VZZs7NH1ykvS5EMFmdodu2wj4dPcrV3DzTAadrXJee": 1,
685685 "did:key:zDnaeW9VZZs7NH1ykvS5EMFmdodu2wj4dPcrV3DzTAadrXJee#zDnaeW9VZZs7NH1ykvS5EMFmdodu2wj4dPcrV3DzTAadrXJee": 2,
@@ -808,7 +808,7 @@ <h3>Initialize Conversion Algorithm</h3>
808808 </ li >
809809 < li >
810810Set `state.initialActiveContext` to the result of passing empty maps `termMap` and
811- `previousActiveContext` to < a href ="#initialize-active-context-algorithm "> </ a > .
811+ `previousActiveContext` to < a href ="#initialize-active-context-algorithm "> </ a > .
812812 </ li >
813813 < li >
814814Set `state.typesEncodedAsBytes` to an empty set.
@@ -875,7 +875,7 @@ <h3>General Conversion Algorithm</h3>
875875 < li >
876876Set `contextConversionResult` to the result of
877877< a href ="#convert-contexts-for-compression-algorithm "> </ a > , passing
878- `state`, `activeContext`, `input`, and `output`.
878+ `state`, `activeContext`, `input`, and `output`.
879879 </ li >
880880 < li >
881881Set `activeContext` to `contextConversionResult.activeContext`, `output`
@@ -885,7 +885,7 @@ <h3>General Conversion Algorithm</h3>
885885 </ li >
886886 < li >
887887Otherwise, set `activeContext` to
888- `result.activeContext` and `state` to `result.state` of `result` resulting from
888+ `result.activeContext` and `state` to `result.state` of `result` resulting from
889889< a href ="#convert-contexts-for-decompression-algorithm "> </ a > , passing `state`,
890890`activeContext`, `input`, and `output`.
891891 </ li >
@@ -912,7 +912,7 @@ <h3>General Conversion Algorithm</h3>
912912 </ li >
913913 < li >
914914Otherwise, set `state` to `result.state`, `output` to `result.output`,
915- and `termEntries` to `result.termEntries` for `result` resulting from
915+ and `termEntries` to `result.termEntries` for `result` resulting from
916916< a href ="#get-input-entries-for-decompression-algorithm "> </ a > ,
917917passing `state`, `input`, output, and `activeContext`.
918918 </ li >
@@ -1021,7 +1021,7 @@ <h3>Convert Value Algorithm</h3>
10211021Set `output` to an empty map.
10221022 </ li >
10231023 < li >
1024- Set `result` to the result of < a href ="#general-conversion-algorithm "> </ a > , passing `state`,
1024+ Set `result` to the result of < a href ="#general-conversion-algorithm "> </ a > , passing `state`,
10251025`activeContext`, `value` as `input`, and `output`.
10261026 </ li >
10271027 < li >
@@ -1225,7 +1225,7 @@ <h3>Decompression Strategy Algorithms</h3>
12251225 < section >
12261226 < h4 > Convert Contexts for Decompression Algorithm</ h4 >
12271227 < p >
1228- This algorithm takes maps `state`, `activeContext`, `input`, and `output`, and returns a map
1228+ This algorithm takes maps `state`, `activeContext`, `input`, and `output`, and returns a map
12291229`result` containing maps `output`, `state`, and `activeContext`.
12301230 </ p >
12311231 < ol >
@@ -1236,7 +1236,7 @@ <h4>Convert Contexts for Decompression Algorithm</h4>
12361236Set `contextTermId` to the value of "@context" in `state`.`keywordsMap`.
12371237 </ li >
12381238 < li >
1239- If `contextTermId` has an entry in `input`, set the value of
1239+ If `contextTermId` has an entry in `input`, set the value of
12401240"@context" in `output` to the result of < a href ="#decode-context "> </ a > , passing `decoderData` and
12411241the value of `contextTermId` in `input` as `value`.
12421242 </ li >
@@ -1340,7 +1340,7 @@ <h4>Get Input Entries for Decompression Algorithm</h4>
13401340 </ ol >
13411341 </ li >
13421342 < li >
1343- Set `definition` to the value of `term` in `activeContext`.`termMap`.
1343+ Set `definition` to the value of `term` in `activeContext`.`termMap`.
13441344 </ li >
13451345 < li >
13461346Set `entryTerm` to be a new map.
@@ -1413,7 +1413,7 @@ <h4>Get Object Types for Decompression Algorithm</h4>
14131413 </ ol >
14141414 </ li >
14151415 < li >
1416- Set `definition` to the value of `term` in `activeContext`.`termMap`.
1416+ Set `definition` to the value of `term` in `activeContext`.`termMap`.
14171417 </ li >
14181418 < li >
14191419Set `termInfo` to be a new map.
@@ -1506,7 +1506,7 @@ <h3>Apply Embedded Contexts Algorithm</h3>
15061506 < ol >
15071507 < li >
15081508Set `termMapUpdateResult` to the result of passing `state`, `activeContext.termMap` as
1509- `activeTermMap`, and the value of '@context' in `input` as `contexts` to
1509+ `activeTermMap`, and the value of '@context' in `input` as `contexts` to
15101510< a href ="#update-term-map-algorithm "> </ a > .
15111511 </ li >
15121512 < li >
@@ -1524,7 +1524,7 @@ <h3>Apply Embedded Contexts Algorithm</h3>
15241524`result.state` to `state`.
15251525 </ li >
15261526 < li >
1527- Return `result`.
1527+ Return `result`.
15281528 </ li >
15291529 </ ol >
15301530 </ section >
@@ -1545,7 +1545,7 @@ <h3>Apply Property Scoped Contexts Algorithm</h3>
15451545 </ li >
15461546 < li >
15471547Set `termMapUpdateResult` to the result of passing `state`, `revertedTermMap` as
1548- `activeTermMap`, `true` as `propertyScope`, and `contexts` to
1548+ `activeTermMap`, `true` as `propertyScope`, and `contexts` to
15491549< a href ="#update-term-map-algorithm "> </ a > .
15501550 </ li >
15511551 < li >
@@ -1563,7 +1563,7 @@ <h3>Apply Property Scoped Contexts Algorithm</h3>
15631563`result.state` to `state`.
15641564 </ li >
15651565 < li >
1566- Return `result`.
1566+ Return `result`.
15671567 </ li >
15681568 </ ol >
15691569 </ section >
@@ -1611,7 +1611,7 @@ <h3>Apply Type Scoped Contexts Algorithm</h3>
16111611`result.state` to `state`.
16121612 </ li >
16131613 < li >
1614- Return `result`.
1614+ Return `result`.
16151615 </ li >
16161616 </ ol >
16171617 </ section >
@@ -1652,13 +1652,13 @@ <h3>Update Term Map Algorithm</h3>
16521652 < ol >
16531653 < li >
16541654Shallow copy the contents of `value` into a new map `newValue` and add `propagate`
1655- to `newValue`.
1655+ to `newValue`.
16561656 </ li >
16571657 < li >
16581658Set the value of `key` in `newTermMap` to `newValue`.
16591659 </ li >
16601660 </ ol >
1661- </ li >
1661+ </ li >
16621662 < li >
16631663For [`term`, `activeDef`] in `activeTermMap`:
16641664 < ol >
@@ -1691,7 +1691,7 @@ <h3>Update Term Map Algorithm</h3>
16911691 </ li >
16921692 < li >
16931693Set the value of `activeTermMap` to the value of `newTermMap`.
1694- </ li >
1694+ </ li >
16951695 </ ol >
16961696 </ li >
16971697 < li >
@@ -1760,7 +1760,7 @@ <h3>Revert Term Map Algorithm</h3>
17601760 </ li >
17611761 </ ol >
17621762 </ section >
1763- </ section >
1763+ </ section >
17641764
17651765 < section >
17661766 < h2 > Context Loading</ h2 >
@@ -2301,8 +2301,8 @@ <h4>Decode Value</h4>
23012301 </ p >
23022302 < ol >
23032303 < li >
2304- Return `decoderData`.`decoded`.
2305- </ li >
2304+ Return `decoderData`.`decoded`.
2305+ </ li >
23062306 </ ol >
23072307 </ section >
23082308 </ section >
@@ -2363,7 +2363,7 @@ <h2>Get Registry Entry ID Algorithm</h2>
23632363 </ li >
23642364 < li >
23652365Otherwise, if the CBOR tag on `cborldBytes` is in the range `0x0600`-`0x067F`, set `registryEntryId` to
2366- the value of the last byte of the CBOR tag and set `suffix` to the portion of `cborldBytes` after the tag.
2366+ the value of the last byte of the CBOR tag and set `suffix` to the portion of `cborldBytes` after the tag.
23672367 </ li >
23682368 < li >
23692369Otherwise:
@@ -2382,7 +2382,7 @@ <h2>Get Registry Entry ID Algorithm</h2>
23822382value of the second element in the array.
23832383 </ li >
23842384 </ ol >
2385-
2385+
23862386 </ li >
23872387 < li >
23882388Set `result` to be an empty map.
0 commit comments