
21 Sep
2006
21 Sep
'06
9:46 a.m.
Thomas Soddemann wrote:
I guess the XSD Spec is a little vague here. They state that for the element "duration" ISO8601 is applied which also allows the kind of durations you refer to as time periods, but their examples are only in the [-]P... format.
Both of these references: http://www.w3schools.com/schema/schema_dtypes_date.asp http://books.xmlschemata.org/relaxng/ch19-77073.html state that xsd:duration is to use the [-]P... format, as does the core spec at: http://www.w3.org/TR/REC-xmlschema-2/#duration It's in the first paragraph of section 3.2.6.1. Donal.