Simon Willison’s Weblog

Subscribe

XHTML 1.1 Woes

29th July 2002

Tim Luoma on thelist poined out this table, which details the media types that can be used when serving XHTML documents. The table shows that XHTML 1.1 should not be served with a text/html Content-Type header. Unfortunately using any of the allowed headers (application/xhtml+xml, application/xml or text/xml) will cause Netscape 4 to pop up a “download file” dialog, and is likely to cause problems in other older browsers as well. Looks like I’ll be sticking with XHTML 1.0 Strict for a good while to come. I don’t really understand the hurry to move to XHTML 1.1 exhibited by some developers—to my mind, the single biggest advantage of XHTML is the fact that it allows documents to be parsed by any XML parsing tool, and this benefit is available in XHTML 1.0.

This is XHTML 1.1 Woes by Simon Willison, posted on 29th July 2002.

Next: Funky stuff coming soon

Previous: Back to normal at diveintomark

Previously hosted at http://simon.incutio.com/archive/2002/07/29/xhtml11woes