[Home] [By Thread] [By Date] [Recent Entries]

  • From: Richard Tobin <richard@c...>
  • To: xml-dev@l...
  • Date: Mon, 29 Oct 2001 22:36:36 +0000 (GMT)

In article <F4AAF836-CC9F-11D5-BB76-00039356284A@d...> you write:

>Wouldn't this have even deeper implications?  By this I mean that a 
>validating parser won't validate a document that has no DOCTYPE 
>references (treats it simply as well-formed), but *will* try to validate 
>a document in an all-or-nothing fashion if there is.

There is no reason for validating parsers to do that.  A document with
no doctype statement is just as invalid as one with a doctype and lots
of missing declarations.  It may well produce more error messages, but
it doesn't need to completely reject it.

In any case, validating parsers are required to have a mode in which
they do not report violations of validity constraints.

-- Richard

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member