4 ms·
The comparison table doesn't seem fair, especially on the XML column. In particular, it is stated that XML doesn't support decimal and float, whereas XSD in fac
by tasogare 7y ago
The comparison table doesn't seem fair, especially on the XML column. In particular, it is stated that XML doesn't support decimal and float, whereas XSD in fact defines 19 primitive data types including decimal and float. List are also supported implicitly because child nodes of an element are ordered. Moreover, the claim that XML doesn't support metadata is devious because any file can precisely be extended with any additional metadata (possibly in their own namespace), without client breaking if done well.
XML strength also lies in its extensibility, and its large number of compliant implementations, which goes way way beyond a single uncompleted implementation by a single author.
- int_19h 7y agoThe problem is that you need an XML schema (or at least inline annotations on elements) to designate some value as decimal or float - it's not encoded directly in the data. I think that's what OP really meant.