Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] json v. xml

From: "Rick Jelliffe" <rjelliffe@-------.---.-->
To: "xml-dev@-----.---.---" <-------@-----.---.--->
Date: 1/5/2007 1:58:00 AM
derek denny-brown said:

> Aside from the cross-domain issue, I think XML also missed the boat by
> not providing a canonical 'object serialization', akin to JSON.  Part
> of the explosion of JSON is due to it's low barrier to entry.

"Missed the boat" suggests that canonical object serialization should have
been a goal of XML in the first place, which it wasn't. (But perhaps Denny
is right: if we'd gonge with the instance-based type annotation ideas that
IIRC Charles Goldfarb suggested, this would be a different discussion.)

The world is big enough for more than one syntax for things. JSON is to
XML what IDL is to DTDs.

Ultimately, the XML methodology is markup: annotation. (And arbitrary,
unlimited annotation with arbitrary constraint checking.) Not everything
should be markup.

We are better off with two (or ten) small, distinct languages that
developers can master rather than multiplying the complexity of XML in
futile attempts to make it useful for everything. The opposite of
complexity is not simplicity but modesty.

As I understand JSON, it is merely client-side programmers saying "Hey, we
already have a syntax for representing data structures in JavaScript, why
not just use that so we don't need any special API for naming and
navigating?" That is an utterly reasonable position, it seems to me.

Cheers
Rick Jelliffe


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