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

Re: Feature Request: Send Accept header

From: Herr Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>
Date: Fri, 28 Mar 2003 10:33:05 +0100
To: Tim Bagot <tsb-w3-validator-0007@earth.li>, <www-validator@w3.org>
Message-Id: <200303281033.06026.Christian.Hujer@itcqis.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Tim,

Am Donnerstag, 27. März 2003 19:44 schrieb Tim Bagot:
> At 2003-03-27T09:25+0100, Herr Christian Wolfgang Hujer wrote:-
>
> > I want the validator to have an option to send a specific Accept
> > header to the server site that is going to be validated. Thus it is
> > not possible to validate negotiated content. (e.g. try validating
> > http://www.itcqis.com/ will validate the HTML 4.01 version, though
> > mozilla will retrieve the XHTML 1.1 version).
>
> Why can't you just ask the validator to validate e.g.
> <http://www.itcqis.com/start.de.xhtml>? Seems easier than setting an
> Accept header (and indeed Accept-Language).
I could do.
I don't use the validator at all. I use Ant and Xerces to validate my XHTML, 
and I'm always pretty convinced my transformed HTML4 is valid, too, but to be 
sure I use htmltidy, which also has some other advantages.

The servers negotiating content are configured to send HTML4 as text/html per 
default and only send XHTML1.1 as application/xhtml+xml if the user agent 
prefers that over text/html (which, e.g., Mozilla does).

When someone now validates one of my websites using the W3C Validator, he / 
she will think the site is old HTML 4, which I don't like because the site is 
XHTML 1.1 and HTML 4 is only there for backwards compatibility with antique 
browsers like Internet Explorer.


Bye
- -- 
ITCQIS GmbH
Christian Wolfgang Hujer
Geschäftsführender Gesellschafter
Telefon: +49  (0)89  27 37 04 37
Telefax: +49  (0)89  27 37 04 39
E-Mail: Christian.Hujer@itcqis.com
WWW: http://www.itcqis.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+hBbRzu6h7O/MKZkRAsU4AJ4gqtE9hgNLZKjMisNQSQXazpMQvwCguq6c
grz2rhIcsJcMU+lcvSWKsJw=
=C2wD
-----END PGP SIGNATURE-----
Received on Friday, 28 March 2003 04:34:28 GMT

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