W3C home > Mailing lists > Public > www-validator@w3.org > July 2007

Re: Validator lacks application/xml+xhtml in ACCEPT_HTTP

From: David Dorward <david@dorward.me.uk>
Date: Mon, 30 Jul 2007 17:09:09 +0100
Message-Id: <31DC917B-D85A-4CC0-BFA3-05548D1301A5@dorward.me.uk>
To: www-validator Community <www-validator@w3.org>


On 29 Jul 2007, at 23:04, Navarr Barnier wrote:
> The Validator should however do Content-Negotiation; since the help  
> it offers for a mime-type mismatch points to an article on how to  
> setup your script to detect if the browser supports the application/ 
> xhtml+xml mime-type; and to output text/html if it doesn’t.
If it made an explicit claim about XHTML support, then surely you  
would still have the same problem for testing the HTML fallback?  
Wouldn't it be easier to provide some method in the URL that would  
handle it?

I'd expect Apache Multiviews would make it fairly easy to set it up  
so that requesting /foo would do Content-Negotiation while /foo.html  
or /foo.xhtml would request a specific version.


-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
Received on Monday, 30 July 2007 16:09:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:25 GMT