Re: XHTML with Internet Explorer

On 11/2/03 3:34 AM, "Jim Ley" <jim@jibbering.com> wrote:

> 
> 
> "Tantek Çelik" <tantek@cs.stanford.edu> wrote in message
> news:BBCA2041.2F78F%tantek@cs.stanford.edu...
> 
>> IE (on any platform), in short, does not support XHTML.
> 
> This is incorrect, XHTML 1.0 is supported by all versions of Internet
> Explorer.

No, it is not.  Just because you can cause IE to mistake XHTML 1.0 for HTML4
does not mean that it supports XHTML 1.0.

> It does not support the mime-type application/xhtml+xml,

Correct.

> but text/html is
> (ridiculously) a valid mime-type for XHTML 1.0.

No.  text/html is a valid mime-type for XHTML 1.0 that conforms to Appendix
C and is then therefore interpreted by user agents as HTML4.

In fact, sending XHTML 1.0 as text/html may be better thought of as sending
invalid HTML4 which happens to "work" (for the most part) when interpreted
as tag soup.  It certainly is not being treated as XHTML, not even by other
useragents which supposedly *do* have actual support for XHTML.

Tantek

Received on Sunday, 2 November 2003 07:07:00 UTC