[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] Re: determining ID-ness in XML
- From: Richard Tobin <firstname.lastname@example.org>
- To: email@example.com
- Date: Mon, 29 Oct 2001 22:36:36 +0000 (GMT)
In article <F4AAF836-CC9F-11D5-BB76-00039356284A@dbxmlgroup.com> 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.