Mar 23, 2018 01:58 AM|Cathy Zou|LINK
XML is stricter and has support for schemas and namespaces.
I.e. the ability for party A to specify the format of a document, and the ability for party B to check that they are supplying something that matches this format.
This is crucial when passing data between separate systems, where a deviation from the expected format might mean that the data cannot be processed (or worse, is processed incorrectly).
I.e. the ability to mix data intended to be read by multiple sources (or written by multiple sources) in the same document.