Re:Erik Naggum's XML Rant from 2002: Disturbingly prescient
by mindstab on Saturday May 05, 2012 @11:37AM
(#3932319)
And that's how we seem to have transitioned to JSON, at least for some information storage and transition :)
Remember when it was all the rage to use XML for RPC? and even in AJAX?
[ Parent
| on HN ]
Re:Erik Naggum's XML Rant from 2002: Disturbingly prescient
by TeeWEE on Saturday May 05, 2012 @02:47PM
(#3932876)
JSON and XML have two totally different application domains. For some XML is better for some JSON. People who think JSON is better never had a problem with changing data schemas, different parties and common interface.
In short XML is a lot more powerful than simple JSON. JSON is a subset of XML with a different syntax.
Re:Erik Naggum's XML Rant from 2002: Disturbingly prescient
by bad_user on Saturday May 05, 2012 @04:51PM
(#3933244)
I like XML for streams of data or for data that has to be stored for a long time (like logs). I like JSON for everything else.
Re:Erik Naggum's XML Rant from 2002: Disturbingly prescient
by DavidAbrams on Saturday May 05, 2012 @03:37PM
(#3933026)
How is XML any more immune to schema changes?
Re:Erik Naggum's XML Rant from 2002: Disturbingly prescient
by rickette on Saturday May 05, 2012 @03:50PM
(#3933068)
Is not immune, but you have an explicit contract in the form of a XML Schema Definition (XSD).
Re:Erik Naggum's XML Rant from 2002: Disturbingly prescient
by haberman on Saturday May 05, 2012 @04:22PM
(#3933165)
XSD is not part of XML, it's a totally separate specification. JSON likewise has schema specifications like JSON Schema.
Also, Protocol Buffers are by far better a better schema language than XSD.
Re:Erik Naggum's XML Rant from 2002: Disturbingly prescient
by benwr on Saturday May 05, 2012 @11:43AM
(#3932331)
Hard to forget, given that you have to type "XMLHttpRequest" every time you do any AJAX (The 'X' in which stands for XML, iirc).