[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Is it time for the binary XML permathread to start up aga

  • From: noah_mendelsohn@u...
  • To: Ed Day <eday@o...>
  • Date: Fri, 20 Jul 2007 09:55:44 -0400

Re:  Is it time for the binary XML permathread to start up  aga
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
--------------------------------------






[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.