While checking a new site with http://validator.w3.org/ I got this message:
RDFa Core attribute datatype is not allowed in HTML5 + RDFa 1.1 Lite documents. Consider checking against the HTML5 + RDFa 1.1 schema instead.
<meta about="…" property="sioc:num_replies" content="0" datatype="xsd:integer" />
... is the url of the page.
Just to be strict...
Comments
Comment #1
scor commentedThis markup isn't produced by the theme, and there is nothing the theme can/should do about it. 'datatype' is part of the full set of RDFa 1.1 attributes. In this case, it explicitly tells HTML parsers that the value for the number of comment replies is an integer (as opposed to a string which would be the default otherwise). If you're interested in discussing RDFa features and validation, feel free to post a ticket in the RDFa project issue queue.
To validate your page, use the NU validator at http://validator.w3.org/nu/ and in the options, choose the preset "HTML5 + SVG 1.1 + MathML 3.0 + RDFa 1.1 + Microdata" (see documentation.)
Comment #2
promesThanks for your reply. It appeared not before today in my dashboard.
Comment #3
robbyahn commentedfound this nice one.
http://www.agileapproach.com/blog-entry/w3c-validation-drupal-7-html5-rdfa