W3C home > Mailing lists > Public > www-validator@w3.org > February 2004

Options for Accept headers of the validator?

From: Arne Stahre <sm6vyf@gatugarden.com>
Date: Tue, 10 Feb 2004 21:07:59 +0100
Message-ID: <40293A1F.8000607@gatugarden.com>
To: www-validator@w3.org

  Hi!

  Thank's for a truly great tool! I don't know how people can live 
without it, which - sadly - many obviously do...

  However, since I'm using XML/XSLT to automatically generate the pages 
of my site, I end up with eight variants of each file (XML, XHTML, HTML 
and WML; all in both english and swedish). These pages are then served 
using Apache MultiViews and therefore it is not always the page seen 
that gets validated.

  The reason for this is that I use 
http://validator.w3.org/check/referer  and the URL:s don't use filename 
extensions and that the validator doesn't use the same Accept* headers 
as my browsers.

  The easy way out for me would be to have some options controlling the 
validators Accept* headers, in my case mainly Accept and 
Accept-Language. E.g. 
http://validator.w3.org/check/referer;accept=text%2Fxml;accept%2Dlanguage=sv

  However there is always the possibility for me to use scripts to 
generate the correct link -la 
http://validator.w3.org/check?uri=http://www.example.com/ but that would 
take away the beauty of the simple referer-type link.

  Arne Stahre
Received on Wednesday, 11 February 2004 07:18:47 GMT

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