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

Re: JSON - The Fat Free Alternative - Redux

  • From: "Simon St.Laurent" <simonstl@simonstl.com>
  • To: xml-dev@lists.xml.org
  • Date: Tue, 30 Sep 2014 16:22:50 -0400

Re:  JSON - The Fat Free Alternative - Redux
On 09/30/2014 03:34 PM, Michael Kay wrote:
I think the "fat" referred to by the phrase "fat-free alternative to
XML" has very little to do with data size, it has much more to do with
complexity: the fact that the JSON specification fits on one sheet of
paper, whereas XML extends to thousands of pages if you include the
whole stack.
I had a few too many conversations with programmers which ran like:

ME: What's so hard about parsing a tree?

PROG: The tree part is easy. The hard part is knowing what it all means.

ME: Sure - but doesn't that get simpler when you get familiar with the markup languages you use?

PROG: Familiar? What do you mean? I feed the schema to the program, and then I spend forever trying to figure out why things won't validate.

ME: Do you ask the person who sent you the document?

PROG: Sure, but sometimes it's my own code that won't create content that matches the schema, and then I have to know all the details.

ME: Have you tried looking through sample documents?

PROG: Sure, and they validate. Then I try to do something sliobscure type and sequence issuesghtly different and I can't figure out why slightly different doesn't validate. [Lists corner cases, cites half-remembered specifications, sputters.]

ME: Sounds painful.

That's one relatively small component of a much larger repeated conversation, but it was probably the most frequent part of it from about 2001-2006. Yes, I've heard echoes of the same conversation around JSON schemas as well. No, of course I don't think they're approaching the challenge or the standards the right way, but it keeps happening.

(I had plenty of difficult conversations before XML Schema dominated, but with a different cast of mostly tool-related challenges.)

Thanks,
Simon


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