OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Parser compliance

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: xml-dev@ic.ac.uk
  • Date: 17 Nov 1999 13:10:15 -0500

Tim Bray <tbray@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 Megginson                 david@megginson.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS