- From: Ivan Herman <ivan@w3.org>
- Date: Mon, 13 Jun 2011 15:10:38 +0200
- To: RDF Web Applications Working Group WG <public-rdfa-wg@w3.org>
What I presume you mean is that the datetime attribute is an implicit short hand for content="@datatime value" datatype="xsd:dateTime" and @data attribute is implicit short hand for @resource with the understanding that if there _is_ a @content, resp. @resource attribute set by the user, that has a priority. I am perfectly o.k. with this. It is, conceptually, a shorthand for HTML5 and does not distort anything on the processing level. Ivan On Jun 13, 2011, at 14:59 , RDF Web Applications Working Group Issue Tracker wrote: > > 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? > > > > ---- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 PGP Key: http://www.ivan-herman.net/pgpkey.html FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Monday, 13 June 2011 13:07:52 UTC