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.
In short XML is a lot more powerful than simple JSON. JSON is a subset of XML with a different syntax.