W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2015

[Bug 28812] JSON options 'unescape' and 'liberal' prevent use of off-the-shelf JSON parsers

From: <bugzilla@jessica.w3.org>
Date: Mon, 15 Jun 2015 17:36:49 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28812-523-3vsUGRQ3g8@http.www.w3.org/Bugs/Public/>

--- Comment #2 from Josh Spiegel <josh.spiegel@oracle.com> ---

> it should say that if unescape=false is specified, escaped characters will be retained in escaped form, and unescaped characters will be converted to escaped form if they are not valid XML characters.

If the goal of unescape=false is just to prevent non-XML characters then why
doesn't it just do that?  Why does it also preserve XML characters that
happened to be escaped in the JSON?  In the case of valid XML characters, this
seems like a meaningless distinction and is analogous to preserving character
references and CDATA sections in XDM.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 15 June 2015 17:36:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:54 UTC