Francis Russell wrote:
> Jonathan Nieder wrote:

>> Thanks, both.  Do you know if this bug has been filed with firefox?
>
> Not that I'm aware. At least I've not been able to find one. Certainly,
> it appears to have affected enough people that I found multiple pages
> recommending replacing   with  .

Hmm, from [1]:

| Externally defined character entities other than the five
| pre-defined ones (<, >, &, " and ') are
| only supported if the document references a public identifier
| for which there is a mapping in Mozilla’s pseudo-DTD catalog
| and the document has not been declared standalone.
|
| In older versions of Mozilla as well as in old Mozilla-based
| products, there is no pseudo-DTD catalog and the use of
| externally defined character entities (other than the five
| pre-defined ones) leads to an XML parsing error. There are
| also other XHTML user agents that do not support externally
| defined character entities (other than the five pre-defined
| ones). Since non-validating XML processors are not required to
| support externally defined character entities (other than the
| five pre-defined ones), the use of externally defined
| character entities (other than the five pre-defined ones) is
| inherently unsafe in XML documents intended for the Web. The
| best practice is to use straight UTF-8 instead of entities.
| (Numeric character references are safe, too.)

But that's just baffling.  What's the point of including entities in
the DTD if they're not supported?

The XML standard says:

| Note that non-validating processors are not obligated to read and
| process entity declarations occurring in parameter entities or in
| the external subset; for such documents, the rule that an entity
| must be declared is a well-formedness constraint only if
| standalone='yes'.

standalone='no' is the default, so the standards-based argument does
not seem very convincing.

Do you have any more details about this firefox upgrade problem?  Does
the problem show up in other browsers?

Thanks again.

[1] 
https://developer.mozilla.org/en/Mozilla_Web_Developer_FAQ#How_is_the_treatment_of_application.2fxhtml.2bxml_documents_different_from_the_treatment_of_text.2fhtml_documents.3f



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to