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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Extra Complexity?

[ Lists Home | Date Index | Thread Index ]
  • From: "Frank Boumphrey" <bckman@ix.netcom.com>
  • To: "Dan Holle" <dan@holle.demon.co.uk>, <xml-dev@ic.ac.uk>
  • Date: Sat, 6 Feb 1999 20:59:20 -0500

>Many applications I've seen, and a few that I have created, don't validate
>the XML against a DTD.
>Is the DTD an extra step, inherited from SGML, that doesn't really fit XML?

The real value of a DTD is as a check on the author, to make sure that the
document has a consistent structure. If I am searching through a document
using the DOM it is always nice to know that


will access the content of the same kind of element.

If I am building a document by machine I will not always use a DTD, but if a
fallible human has access to the document it should always be validated
after any 'hand-rolled' change is made.

That way I know that my document has a consistent structure.

In summary when I am authoring a document I will always check its validity,
but when displaying a document I will not check it for validity, only for
well formedness.


Frank Boumphrey

XML and style sheet info at Http://www.hypermedic.com/style/index.htm
Author: - Professional Style Sheets for HTML and XML http://www.wrox.com
CoAuthor:  XML applications from Wrox Press, www.wrox.com
Author: Using XML on the Web (March)

----- Original Message -----
From: Dan Holle <dan@holle.demon.co.uk>
To: <xml-dev@ic.ac.uk>
Sent: Saturday, February 06, 1999 4:56 PM
Subject: DTD: Extra Complexity?

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 (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe 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