3 ms·
I have used XML a fair amount in past years, but now avoid it. There is a subset of XML that a decent language for some use cases. In particular it is good for
by thayne 3y ago
I have used XML a fair amount in past years, but now avoid it.
There is a subset of XML that a decent language for some use cases. In particular it is good for documents whete you want a _markup_ language.
But I've seen it used for a lot of things where it wasn't a great fit.
And xml has too many features, which leads to implementations that are inconsistent with each, often slow, and have security problems such as xxe.
I wish that there was a standardized simplified xml format, that would avoid many of xmls problems and meet the needs of 90% of applications where xml is a good fit.
- GoblinSlayer 3y agoThe only objectionable feature of xml is dtd, everything else is easy to implement in 600 LoC.
- thayne 3y agoI also think namespacing adds complexity that usually isn't needed.
- GoblinSlayer 3y agoNamespaces can be parsed as attributes, then you can add a namespace resolver as a third party algorithm.