W3C home > Mailing lists > Public > www-validator@w3.org > December 2005

Re: Content type is wrong

From: David Dorward <david@dorward.me.uk>
Date: Fri, 23 Dec 2005 00:15:07 +0000
To: www-validator@w3.org
Cc: magick <jasper.magick@gmail.com>
Message-Id: <1135296907.5751.42.camel@cyberman.dorward.me.uk>

On Thu, 2005-12-22 at 17:52 -0500, magick wrote:
> <meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />

> But when I validate the page, it says I'm using text/html eventhough I 
> am sending the page as application/xhtml+xml

Meta http-equiv isn't really equivalent to an http header, and any real
http header will trump it anyway. You need to configure your webserver
to handle it appropriately. 

David Dorward                           <http://dorward.me.uk/>
"Anybody remotely interesting is mad, in some way or another."
                             -- The Greatest Show in the Galaxy
Received on Friday, 23 December 2005 00:16:39 UTC

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