Re: XHTML character entity support

2009/11/3 Jirka Kosek <jirka@kosek.cz>:
> Maciej Stachowiak wrote:
>
>> A) A validating processor (in which case they must read all external
>> DTDs, process the declared entities, and expand the entities when
>> appropriate, and which must also report violations of DTD constraints.
>
> Since 2nd edition of XML from 2000 validating processor is not required
> to report validation errors:
>
> http://www.w3.org/TR/2000/REC-xml-20001006#proc-types
>
> "Validating processors must, ***at user option***, report violations of
> the constraints expressed by the declarations in the DTD, and failures
> to fulfill the validity constraints given in this specification."
>
>                                Jirka
>
> --

The browsers are not validating parsers. That passage does not relate
to non-validating parsers.

Both validating and non-validating parsers are required to report
violations of the well formedness of the document. A document is not
well formed when it has unparsed entities. An unparsed entity is one
that is not recognized, via declaration in a DTD.

Shelley

Received on Tuesday, 3 November 2009 13:28:32 UTC