X-Schema
Ronald Bourret
rbourret at ito.tu-darmstadt.de
Wed Jun 16 17:33:17 BST 1999
David Hunter wrote:
> I'm just
> wondering if we wouldn't be better off adding the extra functionality to
> DTDs, instead of creating a new language. Are there technical reasons
why
> we can't? (Does it have something to do with SGML compatibility? If so
I'd
> be willing to shut up right now. :-)
There are certainly no technical barriers to enhancing DTDs. As you point
out, though, SGML compatibility is a barrier. Mostly it's always struck me
as a matter of practicality: there are very few DTD writers and readers
compared to the number of document writers and readers. Hence, the market
is most likely to lean towards documents, not DTDs. If we redefine/extend
DTDs as documents (i.e. schemas), we get to use all the document technology
and tools for free. If we work solely on DTDs, we have to reinvent
everything ourselves: SAX for DTDs, DOM for DTDs, XSLT for DTDs, editors
for DTDs, etc.
As to DTDs becoming obsolete, I view this as very unlikely to occur any
time soon. More likely are two things:
1) Parsers that can translate between DTDs and schemas on the fly so that
it becomes unimportant whether a document has one or the other, and
2) Separate modules that can validate documents against a schema for use in
environments where the parser either can't validate or can't validate
against a DTD.
-- Ron Bourret
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 (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe 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