OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Turning off validation (was Re: Schemas and entities)

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