Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Is it time for the binary XML permathread to start up again?

From: noah_mendelsohn@--.---.---
To: Ed Day <eday@-------.--->
Date: 7/20/2007 1:56:00 PM
Ed Day writes:

> There is JSON as well.  I'm not sure what format it uses under the 
> covers to encode the data though.

JSON is good at solving the particular problem of sending pairs of 
named/typed fields and their values, where the values can themselves 
(recursively) have that same structure.

XML is aimed at a much broader class of uses.  For example, while one can 
niggle about the details,  XHTML does a pretty good job of conveying HTML 
in the form of XML, including all the mixed content stuff like <p>My point 
is that this paragraph has <emph>mixed</emph> content, in which markup 
occurs within strings.</p>  JSON doesn't even try to do that in a standard 
way. JSON also doesn't do a lot to support the distributed invention of 
cosmically-unique names, as namespaces do.

Therefore, JSON is in some important ways a step toward convenience and 
simplicity for the many cases where what you want to do is easily ship 
around a bit of data, and where you don't need a lot of distributed 
maintenance of the names of the fields.  XML is more complicated, but as 
applicable to a much broader range of uses.  I'd be very surprised if JSON 
were a suitable encoding for XML in general.  For example, I don't look 
forward to seeing XHTML rendered in JSON.  If an efficient XML encoding of 
any sort, including the ones Roger lists, purports to carry Infosets in 
general, then it should at least do a good job with compound languages 
built of XHMTL, SVG, etc.

--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent