4 ms·
Regarding the first item on the XML Cons list: > I’ve never gotten schemas and validation to actually work in practice DTD validation in XML is trivial x
by zdw 6y ago
Regarding the first item on the XML Cons list:
> I’ve never gotten schemas and validation to actually work in practice
DTD validation in XML is trivial
xmllint --dtdvalid schema.dtd file.xml
or:
xmllint --relaxng schema.rng file.xml
works great, so take this article with a grain of salt. The other criticisms may be valid, but XML's cross-language schema support is still probably the best and most universally supported by tooling.