- 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>
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 <del>. -- Toby A Inkster <mailto:mail@tobyinkster.co.uk> <http://tobyinkster.co.uk>
Received on Friday, 11 November 2011 15:09:19 UTC