W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > November 2011

Re: Looking at the time element (again) (ISSUE-97)

From: Toby Inkster <tai@g5n.co.uk>
Date: Fri, 11 Nov 2011 15:09:59 +0000
To: Gregg Kellogg <gregg@kellogg-assoc.com>
Cc: Ivan Herman <ivan@w3.org>, RDFa WG <public-rdfa-wg@w3.org>
Message-ID: <20111111150959.7f791109@miranda.g5n.co.uk>
On Thu, 10 Nov 2011 09:52:04 -0500
Gregg Kellogg <gregg@kellogg-assoc.com> wrote:

> In my version of the proposals, I perform lexical analysis of
> @datetime against xsd:date, xsd:dateTime and xsd:time and choose the
> datatype based on the match. It's quite simple.

This is what I do for <time> handling in my Microdata parser (though
IIRC I also support all of the xsd:gFoo types too). I'd support adding
something like this to (X)HTML+RDFa 1.1, but I think it's too
HTML-specific to be added to Core.

Note that this should be trigger specifically by the <time> element,
and should not apply to all elements with a @datetime attribute. This
is because we probably wouldn't want to pick up @datetime on <ins> and

Toby A Inkster
Received on Friday, 11 November 2011 15:09:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:05:27 UTC