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

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  
browser.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Wednesday, 7 March 2007 09:09:32 UTC