James Clark on JSON vs. XML:
It’s not surprising that XML is unappealing to a generation of programmers who are coming to it fresh, without making allowances for how it got to be this way.
I’m too old to be part of this generation, but the same can be said for a whole lot of technologies, including Java, J2EE, Web services … what may have been a good excuse for their warts when they were new is often not convincing anymore today.
Another nice quote:
A range of powerful supporting technologies have been developed for XML. Naturally I have a fondness for the ones that I had a role in developing: XPath, XSLT, RELAX NG. I also can see a lot of value in XPath2, XSLT2 and XQuery. On some days, if I’m in a particularly good mood and I try really hard, I can see value in XSD.
The one thing I don’t happen to agree with (he writes this with regards to JSON):
Some important datatypes are missing. In particular, I think support for binary data (XSD base64Binary or hexBinary) is critical.
What’s the use case that can’t be solved by just referencing the binary content, preferably using some widely known way to identify things?