11 ms·
XML is so complex and obtuse that one can hardly blame the practicioners for misusing it.
by dscrd 14y ago
XML 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