XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] JSONx sent to the IETF

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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS