[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Turning off validation (was Re: Schemas and entities)
- From: Richard Tobin <firstname.lastname@example.org>
- To: email@example.com
- Date: Fri, 12 Jan 2001 16:36:29 +0000 (GMT)
David Carlisle wrote:
>> In the absence of a DTD, rxp -V reports
>> Warning: Document has no DTD, validating abandoned
>If there is a DOCTYPE but the DTD doesn't define any elements, is
>validation similarly abandoned, or in that case would it generate
>errors on every element (as does nsgmls for example).
It generates errors for (the first occurrence of) each element.
Incidentally, validating parsers must provide a mode in which they
do not report violations of validity constraints - see the definition
of "validity constraint" and "at user option". This provides a means
of ensuring that all entity declarations are read, without needing to
declare elements and attributes.