W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2014

[Bug 27322] New: The json serialization method should not escape ` (`) [editorial]

From: <bugzilla@jessica.w3.org>
Date: Thu, 13 Nov 2014 23:08:21 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-27322-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27322

            Bug ID: 27322
           Summary: The json serialization method should not escape `
                    (&#x60;)  [editorial]
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization 3.1
          Assignee: cmsmcq@blackmesatech.com
          Reporter: josh.spiegel@oracle.com
        QA Contact: public-qt-comments@w3.org

In Serialization 3.1:

"Escape according to the rules of the XML, HTML, or JSON output method,
whichever is applicable, any characters (such as < and &) where XML or HTML
requires escaping, any characters (such as " and `) where JSON requires
escaping, and any characters that cannot be represented in the selected
encoding."

In RFC7159:

"All Unicode characters may be placed within the quotation marks, except for
the characters that must be escaped: quotation mark, reverse solidus, and the
control characters (U+0000 through U+001F). "

I think ` is a typo and \ was intended.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 13 November 2014 23:08:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:59 UTC