Deterministic behavior in processors

Tim Bray tbray at textuality.com
Wed Aug 5 22:40:49 BST 1998


At 11:50 AM 8/5/98 -0400, John Cowan wrote:
>I think this is a conceptual error on your part.  A validating parser
>checks that the document it is parsing conforms to its DTD.  A
>document without a DOCTYPE declaration genuinely doesn't have a DTD:
>a validating parser then merely checks it for well-formedness.  It is
>never an error not to have a DTD.

However, a validating parser would report the undeclared-ness of
each element type it encountered, in the case that there was no DTD. -Tim

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/
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