Re: Page Validates But Mime Warning Continues

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
http://www.zealmedia.co.nz/

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