W3C home > Mailing lists > Public > www-validator@w3.org > July 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: Tue, 31 Jul 2007 15:04:49 +0200 (MEST)
To: www-validator@w3.org
cc: Andries Louw Wolthuizen <info@andrieslouw.nl>
Message-ID: <Pine.GSO.4.63.0707311456200.18083@s5b004.rrzn.uni-hannover.de>

On Tue, 31 Jul 2007, Andries Louw Wolthuizen wrote:

> Your validator (http://validator.w3.org/check) doesn't send the
> HTTP_ACCEPT header with a request, so I (or my server) can't send a
> Content-Type: application/xhtml+xml header.

This is plain wrong. Whether or not the server *can* send
 "Content-Type: application/xhtml+xml" has nothing to do
with the user agent (browser or validator).

> http://www.andrieslouw.nl/v4/home.html

Your page has:

|  Content-Type: text/html
|  <meta http-equiv="content-type"
|           content="application/xhtml+xml; charset=utf-8" />

You cannot set the content-type with such a meta fake:
  http://www.unics.uni-hannover.de/nhtcapri/meta-http-equiv.1
  http://www.unics.uni-hannover.de/nhtcapri/meta-http-equiv.2

Please stay away from XHTML 1.1 - you do not understand it.

-- 
In memoriam Alan J. Flavell
http://groups.google.com/groups/search?q=author:Alan.J.Flavell
Received on Tuesday, 31 July 2007 13:06:08 GMT

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