Re: Deterministic behavior in processors
Tim Bray (tbray@textuality.com)
Wed, 05 Aug 1998 13:42:15 -0700
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