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

Re: HTML+RDFa @datetime versus @value

From: Sebastian Heath <sebastian.heath@gmail.com>
Date: Tue, 15 May 2012 16:28:44 -0400
Message-ID: <CACsb_1qxX-U+1UQF5C=XzKwZOe1qDXPaefMPsLAk9e+8gswhmg@mail.gmail.com>
To: W3C RDFWA WG <public-rdfa-wg@w3.org>
How about more than one triple

<> xhv:test "2011-01-01"^^xsd:date
<> xhv:test "Hello!"

Then we don't have to divine any intent on the part of the author. (Or
perhaps, we're making the most reasonable guess as to where her/his
intent was.)

 -Sebastian

On Tue, May 15, 2012 at 4:22 PM, Toby Inkster <tai@g5n.co.uk> wrote:
> 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:29:14 GMT

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