News for hackers. Stuff that matters.
Re:A brief XML rant by dscrd on Monday March 04, 2013 @08:50AM (#5318145)
XML is so complex and obtuse that one can hardly blame the practicioners for misusing it.
Re:A brief XML rant by sageikosa on Monday March 04, 2013 @08:58AM (#5318175)
XML 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.
Re:A brief XML rant by dscrd on Monday March 04, 2013 @10:14AM (#5318533)
I 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.
Re:A brief XML rant by sageikosa on Monday March 04, 2013 @11:07AM (#5318837)
I'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.

Re:A brief XML rant by jarman on Tuesday March 05, 2013 @10:09AM (#5324823)
For 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