Re: please add Accept header to http request containing application/xhtml+xml

On 20 Apr 2008, at 21:57, Noa Resare wrote:
>> David Dorward wrote :
>>> If you are doing content negotiation and then sending exactly the  
>>> same content, but with different Content-Types, then the validator  
>>> is going to get the same data either way - so it makes no difference

>> Actually it makes a difference. If the page is XHTML, the validator  
>> will issue a warning when it is sent as text/html.
>
> Which was the whole point of filing my request in the first place.

Which suggests you are serving XHTML other than XHTML 1.0 as text/ 
html. Don't do that.

> Why would I need a a better algorithm?

Because yours does not implement the spec properly.

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/

Received on Sunday, 20 April 2008 22:10:06 UTC