3 ms·
>XML schema was sort of bolted on via some conventions of defining a schema in the root element. I know, and I'm not talking about XML Schema at all (partly be
by fauigerzigerk 3y ago
>XML schema was sort of bolted on via some conventions of defining a schema in the root element.
I know, and I'm not talking about XML Schema at all (partly because it hurts my brain to even mention the absolute worst specification ever written).
I mean just the complexity of the XML data model itself, including namespaces, entity references and the ridiculously convoluted URI spec. That's more than enough to make XML far more complex than JSON.
To be fair, XML solves problems that JSON doesn't solve. JSON is not a better XML. JSON's creators simply decided that many of problems that XML solves don't need solving or should not be solved by a data format specification.