Re:XML is better than YAML
by GoblinSlayer on Thursday September 21, 2023 @10:12AM
(#37597898)
The only objectionable feature of xml is dtd, everything else is easy to implement in 600 LoC.
I also think namespacing adds complexity that usually isn't needed.
Re:XML is better than YAML
by GoblinSlayer on Friday September 22, 2023 @06:58AM
(#37610430)
Namespaces can be parsed as attributes, then you can add a namespace resolver as a third party algorithm.
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.