Re: RDFa in XHTML samples for datatype="xsd:datetime"

On Tue, 30 Sep 2008 04:22:59 +0200, Ben Adida <ben@adida.net> wrote:

>> Neither the content of the element nor the value of the
>> content attribute fit to dateTime of the xsd namespace,
>> this should be something like the usual
>> 2007-09-16T16:00-05:00.
>
> Hmmm, good point, not sure how we went down this path... though I'm
> pretty sure it's partly (or probably entirely) my fault.
>
> Shane, Mark: can you confirm my mistake? If so, let's correct.

Do you mind if I confirm it instead? :-) Olaf is completely right

Its lexical space is the extended format:  
[-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm]

Valid values for xsd:dateTime include: 2001-10-26T21:32:52,  
2001-10-26T21:32:52+02:00, 2001-10-26T19:32:52Z,  
2001-10-26T19:32:52+00:00, -2001-10-26T21:32:52, or  
2001-10-26T21:32:52.12679.

/me kicks himself for not spotting it himself...

Steven

Received on Tuesday, 30 September 2008 10:23:16 UTC