Hacker News new | past | comments | ask | show | jobs | submit login

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.




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.


Namespaces can be parsed as attributes, then you can add a namespace resolver as a third party algorithm.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: