help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: sgml-validate


From: Allan Gottlieb
Subject: Re: sgml-validate
Date: Wed, 23 Feb 2011 09:34:16 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Tue, Feb 22 2011, Yuri Khan wrote:

> On Tue, Feb 22, 2011 at 20:44, Allan Gottlieb <address@hidden> wrote:
>>> <!DOCTYPE html
>>>      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>>>      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"; [
>>> <!ENTITY ge "&#x2265;">
>>> ]>
>
>> What I can say is that firefox doesn't complain and does show the
>> characters correctly, but it also recognized the native &ge;, etc
>> so perhaps it is just ignoring the <!ENTITY ge "&#x2265;">.
>
> This may happen if the browser is led to believe that your document is
> an HTML one. It will therefore parse it using HTML rules, which
> include the whole lot of HTML entities. Many servers serve XHTML
> documents as text/html because of one widely used browser that did not
> support application/xhtml+xml until its most recent version 9.

I see.  Thanks.
allan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]