[Bug 27478] New: Serializing JSON: \t, \r, Unicode sequences

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27478

            Bug ID: 27478
           Summary: Serializing JSON: \t, \r, Unicode sequences
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization 3.1
          Assignee: cmsmcq@blackmesatech.com
          Reporter: christian.gruen@gmail.com
        QA Contact: public-qt-comments@w3.org

This is related to Bug 27477:

Section 4.3e of the serialization spec says that

  If the JSON output method is selected, replace
  " with \" and the newline character (
) with \n. 

It needs to be clarified how 	 and 
 are to be serialized in JSON (I
assume it will be '\t' and '\r' ?).

If there are cases left in which Unicode characters need to be escaped in the
JSON output, it may be worth telling if an implementation should choose upper
or lower case (RFC7159 allows both variants). For example, 
 can currently
be serialized as "\r", "\u000D", or \u000d".

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 1 December 2014 22:54:54 UTC