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

Re: Validator lacks application/xml+xhtml in ACCEPT_HTTP

From: Navarr Barnier <navarr@gtaero.net>
Date: Sun, 29 Jul 2007 17:04:13 -0500
To: <www-validator@w3.org>
Message-ID: <009a01c7d22c$666ad5a0$334080e0$@net>
On Thu, 11 Mar 2004, Tõnu Samuel wrote:

 

> If I validate my pages using validator.3w.org, it falls back to HTML,

  it means

> validator lacks ACCEPT_HTTP=application/xml+xhtml in headers.

 

Pedantic detail: that's just Accept:

 

>             I believe it

> would be nice to have it there as validator can cope with XHTML well.

 

The validator is happy with XHTML.  It just doesn't do

content-negotiation.  If you want to validate content-negotiated pages,

you'll need to use Page Valet's Advanced form (which is part of the

subscription service only).

 

-- 

Nick Kew

 

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.  Since this is offered as
a solution to a problem with the validator; and it looks at the accept
header; shouldn’t the validator also use the accept header to let the page
know that it works with that kind of data?

 

~Navarr Barnier

 
Received on Monday, 30 July 2007 15:51:34 GMT

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