Getting IE to accept application/xhtml+xml

This morning, with Chris Lilley's help, I got it working. Here is the  
trick (there may be other rules to add to this, but this is the minimum):

	1. The URL must end in .html
		if it doesn't, then add a spurious ?.html eg
	2. There must be a
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	   in the head (with appropriate charset).

Then you can happily serve it as application/xhtml+xml and IE processes it.

It is OK to use an XML declaration, and an xml-stylesheet (though this may  
trigger quirks mode; I still have to check that).

At the time of writing, the following link works
(since it gets automatically updated, it might stop working until we fix  
the auto-generator).


Received on Thursday, 19 April 2007 10:40:12 UTC