Parser compliance

David Megginson david at megginson.com
Wed Nov 17 22:39:15 GMT 1999


Tim Bray <tbray at textuality.com> writes:

> I have often wondered where this myth arose that validating against
> a DTD will tell you, in useful real-world terms, "what's wrong with
> your XML".

That's probably a rhetorical question, but for those new to the field
(i.e. who didn't come from SGML), SGML consultancies throughout the
1990's made an enormous portion of their money writing (and rewriting
and rerewriting and rererewriting) massive and incomprehensible DTDs
for government, military, and big industry, so naturally they (OK,
"we") hyped the importance of DTDs as the cornerstone of any system.

In XML, I've noticed that most of my consulting work has to do with
designing running systems and integrating components, and that
document-type design is only a small (though important) part of that.

In brief, then, SGML systems tend to be DTD-centric while XML systems
tend to be component-centric.  There's nothing in SGML or XML that
forces that distinction; it's just the way things fell out.  Tim's
right -- DTD-based validation will tell you only a tiny portion of
what's wrong with your document, though that portion can be helpful
in some circumstances.


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list