W3C home > Mailing lists > Public > www-validator@w3.org > August 2007

Re: Page Validates But Mime Warning Continues

From: Dean Edridge <dean@55.co.nz>
Date: Fri, 31 Aug 2007 23:54:06 +1200
To: Tony Broome <tb777@samobile.net>
Cc: www-validator@w3.org
Message-id: <46D8015E.2090304@55.co.nz>

Tony Broome wrote:
> This is what the validator shows when trying to validate:
> http://www.tonybroome.com/index.html
> This Page Is Valid XHTML 1.1!
> Result:
> Passed validation
> File:
> C:\Documents and Settings\Owner\My Documents\My Web Pages\index.html
> Encoding:
> iso-8859-1
> Doctype:
> XHTML 1.1
> Root Element:
> html
> Root Namespace:
> http://www.w3.org/1999/xhtml
> Important Warnings
> The validator has found the following problem(s) prior to validation, 
> which should be addressed in priority:
> Warning Conflict between Mime Type and Document Type
> The document is being served with the text/html Mime Type which is not 
> a registered media type for the XHTML 1.1 Document Type. The 
> recommended media type for this document is: application/xhtml+xml
> But I have "application/xhtml+xml" in the header! I'm not working with 
> Apachy or any server; just have a ministry website and want it to be 
> as standards complient as possible. Is there anything I can do? A 
> warning unheeded; is not, needed!
> Sincerely,
> Tony Broome
<meta http-equiv="Content-Type" content="application/xhtml+xml; 
charset=iso-8859-1" /> is being ignored by browsers as your server is 
set to "text/html" and this overrides and meta tag value.

You should change your document to HTML4 strict, as this is supported by 
all browsers. XHTML is not supported by Internet Explorer.

Dean Edridge
Received on Friday, 31 August 2007 11:54:28 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:30 UTC