W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > May 2012

HTML+RDFa @datetime versus @value

From: Toby Inkster <tai@g5n.co.uk>
Date: Tue, 15 May 2012 21:22:33 +0100
To: W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-ID: <20120515212233.44c0fb3d@miranda.g5n.co.uk>
The spec doesn't make clear what triple is generated in this
circumstance:

	<embed
	  property="xhv:test"
	  datetime="2011-01-01"
	  value="Hello!" />

I chose <embed> because it's one of those rare elements where both
@datetime and @value are both considered valid attributes. (Perhaps the
only such element?!) 

Another query... @content is mentioned in step #5...

> If the current element contains the @property attribute, but does not
> contain either the @content or @datatype attributes, then 

... do @datetime and @value act like @content in step #5 too?

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Tuesday, 15 May 2012 20:20:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 15 May 2012 20:20:52 GMT