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

  • From: Richard Tobin <richard@c...>
  • To: xml-dev@l...
  • 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.

-- Richard

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