4 ms·
It was not intended as a criticism of XML at all. XML is a perfectly cromulent standard. It is a criticism of amateurish use of XML.
by adamtaro 14y ago
It was not intended as a criticism of XML at all. XML is a perfectly cromulent standard. It is a criticism of amateurish use of XML.
- egeozcan 14y agoWhich is everywhere (xhtml, anyone?)
- rimantas 14y agoThere are very few websites where xhtml is served with a proper MIME type. MIME type triggers xml parsing mode in browsers, so in most cases xhtml is treated exatly as deserved: just a tag soup.
- sageikosa 14y agoThe "X" is for "extreme", right?
- Kequc 14y agoYea but I've been using haml for quite a while to generate markup. XML is horribly inefficient by comparison and prone to mistakes.
- dscrd 14y agoXML is so complex and obtuse that one can hardly blame the practicioners for misusing it.
- sageikosa 14y agoXML is obtuse only when you try to read definitions of XML dialects written in XML dialects themselves; even then, it's understandable, though it is a "high-art" discipline of schema-world semantics.
- dscrd 14y agoI agree that <tag attribute="value">data</tag> is simple, but XML is, unfortunately, much more than that. And this article complains about that "much more" part.
- sageikosa 14y agoI'll agree with your agreement; the human legibility of XML data often leads the novice programmer into making bad assumptions about the simplicity of implementing XML. While it is possible to implement "well-formed" XML easily enough, validating against schema is another matter. In this particular article's case, the "well-formedness" isn't even there.
- jarman 14y agoFor one-off, transport xml it's not much more. It's proper escaping, declaration with character set and not using features you do not know how to use. First two are solved by using proper library, third - by common sense