Skip to content

Commit

Permalink
fixup! Make name compression be based on CBOR-packed
Browse files Browse the repository at this point in the history
Co-authored-by: mguetschow <[email protected]>
  • Loading branch information
miri64 and mguetschow authored Nov 8, 2024
1 parent b250008 commit cfeb452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draft-lenders-dns-cbor.md
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ Text-String-Suffix-Sequence-Packed-CBOR = #6.28259(rump)

For name compression, a new packing table setup tag TBD28259 ('n' and 'c' in ASCII) for CBOR-packed {{-cbor-packed}} is defined.
It provides an implicit text string suffix sequence table for shared items _V_ which is prepended to the existing table for shared items that apply to the entire tag TBD28259 (by default empty table).
The this implicit (i.e. not explicitly represented) table _V_ is constructed as follows:
This implicit (i.e. not explicitly represented) table _V_ is constructed as follows:
Any coherent sequence of text strings encountered within the rump of tag TBD28259, as well as any of its non-empty suffixes, are added to the table as an array in depth-first order.
Text string sequences within any tables for shared items or argument items within the rump MUST not be added to _V_.
If a sequence for which an array is already in _V_ is encountered, a shared item reference _i_ to that array in V replaces this sequence.
Expand Down

0 comments on commit cfeb452

Please sign in to comment.