4 ms·
Is canonilization not irrelevant. Any format with comments is not canonical; so xᴍʟ is not, ᴊꜱᴏɴ has escapes options for string characters so it not either. Re
by GeneThomas 2y ago
Is canonilization not irrelevant. Any format with comments is not canonical; so xᴍʟ is not, ᴊꜱᴏɴ has escapes options for string characters so it not either.
Response to graph conjecture stated https://news.ycombinator.com/item?id=42072133 https://news.ycombinator.com/item?id=42072133.
- lifthrasiir 2y agoAlmost no serialization format is canonical by default---AFAIK bencode was the sole example that mandates the canonicalization. Instead, a canonical subset of the format is usually defined, which would of course exclude comments, unless comments themselves are considered semantic like XML. Yes, even XML has a canonical subset [1]! [1] https://www.w3.org/TR/xml-c14n/ https://www.w3.org/TR/xml-c14n/
- GeneThomas 2y agoThere is the concept of “well formed xᴇɴᴏɴ” as outputted by the ᴅᴏᴍ and serializer which is deterministic as will suffice for canonicalization.