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 14:55:50 +0200 (MEST)
To: www-validator@w3.org
cc: Sierk Bornemann <sierkb@gmx.de>
Message-ID: <Pine.GSO.4.63.0707311448150.18083@s5b004.rrzn.uni-hannover.de>

On Tue, 31 Jul 2007, Sierk Bornemann wrote:

>> * if accept headers present, and application/xhtml+xml
>>   not accepted, send text/html
>> * else, send application/xhtml+xml
> I would be lucky, if I would have such rules for Apache's httpd.conf
> to satisfy that. Because it seems to be very difficult to check that
> way (application/xhtml+xml *not* accepted)

It is very easy:

   AddType   application/xhtml+xml;qs=0.95   xhtml

Try with

In memoriam Alan J. Flavell
Received on Tuesday, 31 July 2007 12:56:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:52 UTC