This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27322 - The json serialization method should not escape ` (`) [editorial]
Summary: The json serialization method should not escape ` (`) [editorial]
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Serialization 3.1 (show other bugs)
Version: Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-13 23:08 UTC by Josh Spiegel
Modified: 2014-11-21 15:00 UTC (History)
1 user (show)

See Also:


Attachments

Description Josh Spiegel 2014-11-13 23:08:21 UTC
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.