On XML Abuse, a rant
christophh.net
On XML Abuse, a rant
1–5 of 5 posts
Re: On XML Abuse, a rant
#2Re: On XML Abuse, a rant
#3It 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
#4Pushing 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…
Re: On XML Abuse, a rant
#5Pushing 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…
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.