W3C home > Mailing lists > Public > www-validator@w3.org > February 2010

Re: [VE][html5] XHTML5 content-type value

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 26 Feb 2010 13:36:03 +0200
Cc: www-validator@w3.org
Message-Id: <96C0AFBC-1A4E-4854-B514-338E07CDAE7A@iki.fi>
To: David Oliver <david@doliver.co.uk>
On Feb 26, 2010, at 13:11, David Oliver wrote:

> Validating http://project-start.doliver.co.uk/
> Error [html5]: "
> Line 5, Column 67: Bad value content-type for attribute http-equiv on XHTML element meta.
> 
> ův="content-type" content="application/xhtml+xml"/>
> "
> 
> My document isn't recognised as XHTML5 but, instead, as HTML5.
> 
> Is XHTML5 support still to be added?

XHTML5 support is already there.

You can't make a document be XHTML5 by using http-equiv. You need to put Content-Type: application/xhtml+xml on the real HTTP layer.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Friday, 26 February 2010 11:36:40 GMT

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