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] JSON query processing

 >A simple example I see in practice is using JSON strings to encode 
HTML because JSON itself cant do mixed content in a pretty way.

Of course one reason for using JSON is that (for bizarre reasons) 
browsers ignore the cross-site scripting rules when fetching JSON 
content, so it's a good way to get around unwanted security 
restrictions. That's not to imply that JSON doesn't have other benefits 
(notably the exact fit to the Javascript data model), but it probably 
explains why it's sometimes used for tasks for which it would appear 
badly suited.

Michael Kay
Saxonica


[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