[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] JSONx sent to the IETF
- From: John Cowan <cowan@mercury.ccil.org>
- To: David Lee <dlee@calldei.com>
- Date: Tue, 3 May 2011 15:22:02 -0400
David Lee scripsit:
> this is what my personal idea of the 'Ideal XML JSON schema' does:
>
> http://xml.calldei.com/JsonXML
>
> Although its really just a statement ... but then what are specs but
> statements ?
You need to escape LFs inside attributes, because XML parsers change
them to spaces. You can use either XML or JSON escaping for the
purpose, but I think it's simpler to use JSON escaping for all C0
controls.
You also have to JSON-escape unpaired surrogates.
--
Andrew Watt on Microsoft: John Cowan
Never in the field of human computing cowan@ccil.org
has so much been paid by so many http://www.ccil.org/~cowan
to so few! (pace Winston Churchill)
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]