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

Re: Four fine text-based data formats ... liberate yourselffro

  • From: Michael Kay <mike@saxonica.com>
  • To: xml-dev@lists.xml.org
  • Date: Mon, 25 Mar 2013 23:24:31 +0000

Re:  Four fine text-based data formats ... liberate yourselffro
(Liam)>So when you rail against XML and say how much more comfortable 
you are with JSON, it sounds to me as if you're really railing against 
those shoe-wearing bureaucratic civil engineers who wanted 
first-this-then-that. I agree that's a problem, although if several 
different organizations are involved it's often necessary politically if 
not technically, and the schema there can help (as David and others 
suggest) as a sort of documentation.


Actually I would contend that with XML it's much easier to handle data 
with a loose or evolving schema than it is with JSON. For example, 
changing a name-and-address format to allow multiple middle names or 
multiple phone numbers with different roles is more likely to be do-able 
without breaking existing applications in XML than it is in JSON.

This of course is assuming you are processing the XML with appropriate 
languages rather than with a language optimized to handle JSON...

In fact, one could argue that many of the difficulties that arise when 
processing XML arise precisely because of this flexibility that's 
designed into the notation. If you want to make XML processing easier in 
conventional languages, for example with Java data binding, the first 
thing you do is to lock down the schema.

Michael Kay
Saxonica



[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.