[thelist] XHTML 1.1 and content type

Simon Willison simon at incutio.com
Mon Jul 29 12:50:01 CDT 2002


At 13:40 29/07/2002 -0400, you wrote:

>I was just reading through
>http://www.w3.org/TR/xhtml-media-types/
>
>which currently points to
>http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020430
>
>and came across
>http://www.w3.org/TR/xhtml-media-types/#summary-table
>
>That tabe indicates that XHTML 1.1 files should be either
>
>a) application/xhtml+xml
>b) application/xml
>c) text/xml
>
>(with "a" being preferred) and *should not* be sent as text/html
>
>Now it doesn't go as far as saying 'must not' but it doesn't say 'May'
>either.
>
>Wouldn't this confuse older browsers (who aren't going to know enough to
>display application/xhtml+xml) ?

Yes it does - Netscape 4 pops up a "download" window when it encounters any
of the above content-types. This is a rpetty good reason to stay with XHTML
1.0 for quite a while.

Regards,

Simon Willison
http://www.bath.ac.uk/~cs1spw/blog/




More information about the thelist mailing list