> On 9 dec 2014, at 05:20, John Cowan <cowan@xxxxxxxxxxxxxxxx> wrote: > > Patrik Fältström scripsit: > >> This implies the whole thing is a UTF-8 encoded text that is to be >> parsed like this: > > No, this is a misunderstanding. There is no requirement that the sequence > *as a whole* is well-formed UTF-8 text. For example, if the first JSON > text is written only in part for whatever reason (system crash, etc.) to > a log file, the next process can write a 0x1E byte and carry on. Ok, fair. Then I think the draft itself should state this in one way or another. If nothing else the text you wrote here or a version of it is to go into the security considerations section. Patrik
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail