W3C home > Mailing lists > Public > www-validator@w3.org > April 2008

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

From: David Dorward <david@dorward.me.uk>
Date: Sun, 20 Apr 2008 23:09:28 +0100
Cc: www-validator@w3.org
Message-Id: <31FCEAD9-C6CF-4108-A27A-A2132F3B4F5C@dorward.me.uk>
To: Noa Resare <noa@resare.com>

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
Received on Sunday, 20 April 2008 22:10:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:07 UTC