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:

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

In memoriam Alan J. Flavell
Received on Tuesday, 31 July 2007 13:06:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:30:55 UTC