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
  http://www.unics.uni-hannover.de/nhtcapri/ruby-annotation

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

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