W3C home > Mailing lists > Public > public-media-annotation@w3.org > April 2011

Re: New proposal (Re: getting rid of xsd:dateTime ?)

From: Florian Stegmaier <stegmai@dimis.fim.uni-passau.de>
Date: Wed, 6 Apr 2011 09:08:00 +0200
Message-Id: <6CDF56D3-4934-4FD1-8F16-3EDD65EC759C@dimis.fim.uni-passau.de>
To: public-media-annotation@w3.org
+1!

If more people agree on this, i will include it in the API doc.

Best,
Florian


>> A Date value MUST be represented using one of the following XML
>> Schema datatypes: gYear, gYearMonth, date, dateTime, dateTimeStamp,
>> depending on the precision available on the data.
>> 
>> NB: I add dateTimeStamp which is new in XSD 1.1 [1], and imposes a
>> timezone. I know that XSD 1.1. is not recommended yet, but OWL2 found a
>> nice way to get around this problem [2].
>> 
>> This would have to be reflected in the API document as well [3].
>> 
>> pa
>> 
>> [1] http://www.w3.org/TR/xmlschema11-2/
>> [2]
>> http://www.w3.org/TR/2009/REC-owl2-conformance-20091027/#XML_Schema_Datatypes
>> [3]
>> http://dev.w3.org/2008/video/mediaann/mediaont-api-1.0/mediaont-api-1.0.html#attributes-7
>> [4] http://www.w3.org/TR/owl2-profiles/#Entities_3
>> 
>>> 
>>> Felix
>>> 
>>> 
>>> 
>>> 
>>>   This hinders interoperability a tiny bit, but not as much as inventing a
>>>   day and an hour for media resources for which we only know the year.
>>> 
>>>    pa
>>> 
>>> 
>>> 
>>>   To all, some general remarks and conclusions
>>> 
>>>   * as most metadata format are more permissive regarding dates than
>>>   xsd:dateTime, I suggest we simply use rdfs:Literal for all our date
>>>   properties, and explain that it should be of the form
>>>   YYYY[-MM[-DD[Thh[:mm[:ss[.fff]]]]]]
>>> 
>>> 
> 
> _____________________________
> Dipl. Inf. Florian Stegmaier
> Chair of Distributed Information Systems
> University of Passau
> Innstr. 43
> 94032 Passau
> 
> Room 248 ITZ
> 
> Tel.: +49 851 509 3063
> Fax: +49 851 509 3062
> 
> stegmai@dimis.fim.uni-passau.de
> https://www.dimis.fim.uni-passau.de/iris/
> http://twitter.com/fstegmai
> _____________________________
> 

_____________________________
Dipl. Inf. Florian Stegmaier
Chair of Distributed Information Systems
University of Passau
Innstr. 43
94032 Passau

Room 248 ITZ

Tel.: +49 851 509 3063
Fax: +49 851 509 3062

stegmai@dimis.fim.uni-passau.de
https://www.dimis.fim.uni-passau.de/iris/
http://twitter.com/fstegmai
_____________________________
Received on Wednesday, 6 April 2011 07:08:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:17:41 UTC