W3C home > Mailing lists > Public > www-validator@w3.org > October 2003

Validator misleads content negotiation; prefers CSS

From: Ilya Konstantinov <www-validator@future.shiny.co.il>
Date: Sun, 05 Oct 2003 19:39:37 +0200
To: www-validator@w3.org
Message-id: <20031005173937.GA19926@furr.shiny.co.il>

Hello,

I've noticed a problem with the W3 Validator. When I tell it to
validate a page (not a CSS document), it sends the request as
user agent "Jigsaw/2.2.0 W3C_CSS_Validator_JFouffa/2.0.", with the
following Accept header:

text/css,text/html,text/xml,application/xhtml+xml,application/xml,image/svg+xml,*/*;q=0.

I believe prefering text/css over text/html for HTML page validation is
wrong.

Also, Accept-Language is set to static "en-us,en;q=0.5". This might
cause the W3 Validator to receive different content than the user's
browser, thus verifying a _different page_. I think it'd be desired,
in order to improve the user experience, to replicate the
Accept-Language header which the user's browser sends in W3's requests.

(I'm not subscribed to the list, so if it's not too hard, please Cc me
the response.)

Otherwise, thanks for the invaluable tool.
Received on Sunday, 5 October 2003 13:51:03 GMT

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