[whatwg] Configure Apache to send the right MIME type for XHTML

Anne van Kesteren annevk at opera.com
Wed Mar 7 09:09:32 PST 2007

On Wed, 07 Mar 2007 17:14:04 +0100, Elliotte Harold  
<elharo at metalab.unc.edu> wrote:
>> This seems worse than  
>> http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html which was  
>> written long ago. However, that article also has some flaws in not  
>> taking into account q values properly. Subsequent articles appeared on  
>> the web that have addressed this problem. The solution from your  
>> article might give trouble for search engines, for instance.
> How so?

Well, your article advocates sniffing specific user agents where the one  
written by Mark Pilgrim uses the Accept: header which was actually  
designed for this... Google, for one, is known for not supporting XHTML  
really well.

>> Then of course there are some interoperability issues with XHTML and  
>> entities that haven't really been sorted out yet...
> Such as?

Well, since browsers have non-validating XML parsers you actually can't  
use entities, but then you can because they have some build in knowledge  
for certain DOCTYPEs... However, this is not guaranteed to be cross  

Anne van Kesteren

More information about the whatwg mailing list