ISSUE-97 (HTML5 datetime support): Determine if datetime should be supported in HTML5 [RDFa 1.1 in HTML5]

ISSUE-97 (HTML5 datetime support): Determine if datetime should be supported in HTML5 [RDFa 1.1 in HTML5]

http://www.w3.org/2010/02/rdfa/track/issues/97

Raised by: Manu Sporny
On product: RDFa 1.1 in HTML5

Stephane Corlosquet writes:

http://lists.w3.org/Archives/Public/public-rdfa-wg/2011Jun/0020.html

The way microdata property values are processed in HTML5 depends on what tag contains the value. For most tags, it's either the text content, or one of the usual suspects: @content, @src or @href.

There are two tags however in microdata where the property value does not come from any of the RDFa attributes. These tags are <time> and <object> where the property value comes from @datetime and @data, respectively. It is to be expected that HTML5 authors will place relevant values in these attributes, and I'm wondering how RDFa 1.1 can target these without resorting to adding a content attribute.

Let's take the example of <time> which in HTML5 can look like this:
<time itemprop="birthday" datetime="2009-05-10">May 10th 2009</time>

Does the @content attribute have to be explicitly added in the RDFa form? Is there a shorter way to turn that into RDFa than the following one?
<time property="birthday" datetime="2009-05-10" content="2009-05-10T00:00:00-00:00" datatype="xsd:dateTime">May 10th 2009</time>

How about the data attribute?

Received on Monday, 13 June 2011 13:00:08 UTC