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

Re: Validator doesn't send HTTP_ACCEPT headers, "Conflict between Mime Type and Document Type" warning is incorrect.

From: Andreas Prilop <Prilop2007@trashmail.net>
Date: Wed, 1 Aug 2007 10:49:03 +0200 (MEST)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.63.0708011041420.1441@s5b004.rrzn.uni-hannover.de>

On Tue, 31 Jul 2007, David Dorward wrote:

> Accept: text/html, application/xhtml+xml;q=0
> would get an XHTML content type there.
> Just looking for substrings is not a good way of parsing Accept headers.

The whole idea of serving one and the same document with different
content-types to different browsers is so silly because IE ignores
the content-type:

http://www.unics.uni-hannover.de/nhtcapri/temp/ignore-content-type.x.html
http://www.unics.uni-hannover.de/nhtcapri/temp/ignore-content-type.xhtml

Internet Explorer 6/7 is happy with "application/xhtml+xml" as long as
the URL ends in ".html". Some people just never get it.
Received on Wednesday, 1 August 2007 08:49:12 GMT

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