News for hackers. Stuff that matters.
Re:On XML Abuse, a rant by prodigal_erik on Tuesday December 13, 2011 @10:09PM (#3350399)
Pushing DTD over XML Schema is pretty surprising. A DTD can't express namespaces correctly (documents aren't required to use the prefixes you hoped they would) nor constraints like "this attribute must contain a timestamp".

It should also be noted that the JSON Schema situation is pretty grim, with an expired Internet-Draft that has seen almost no live use, and that presents all the same problems as using XML with no schema (only worse, because there's also no standard for avoiding name collisions).

Re:On XML Abuse, a rant by mcpherrinm on Wednesday December 14, 2011 @03:50AM (#3351138)
I don't think the author was particularly advocating DTDs over other schema systems. The real point is that schemas make XML workable with other tools.
Re:On XML Abuse, a rant by yuri41 on Wednesday December 14, 2011 @04:10AM (#3351166)
Exactly that was my point.