W3C home > Mailing lists > Public > www-validator@w3.org > July 2013

Meta element with property attribute inside body

From: Stéphane Corlosquet <scorlosquet@gmail.com>
Date: Fri, 5 Jul 2013 12:23:51 -0400
Message-ID: <CAGR+nnEbzN=EaNJMpC-DgTGqXcX0n-GEN4L3wzjVyaC_pELTNg@mail.gmail.com>
To: www-validator@w3.org
Looks like http://validator.w3.org/nu/ does allow meta elements with the
RDFa Lite property attribute. The rules are defined in HTML+RDFa 1.1 [1].
Here are the relevant excerpts:

- If the @property RDFa attribute is present on the link or meta elements,
they MUST be viewed as conforming if used in the body of the document.
- If the RDFa @property attribute is present on the link element, the @rel
attribute is not required.
- If the RDFa @resource attribute is present on the link element, the @href
attribute is not required.
- If the RDFa @property attribute is present on the meta element, neither
the @name, @http-equiv, nor @charset attributes are required and the
@content attribute MUST be specified.

In other words, this markup should validate when placed inside the body of
an HTML5 document.
<meta property="dc:creator" content="Fyodor Dostoevsky" />
<link property="dc:creator" href="http://example.org/" />

I've placed a document with this markup at [2].

-- 
Steph.

[1] http://www.w3.org/TR/html-rdfa/#extensions-to-the-html5-syntax
[2] http://files.openspring.net/2013/rdfa/meta-link.html
Received on Friday, 5 July 2013 16:24:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:08 UTC