[UR-WG] Comment on duration format for WallDuration and CpuDuration

Donal K. Fellows donal.k.fellows at manchester.ac.uk
Thu Sep 21 04:46:05 CDT 2006


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.


More information about the ur-wg mailing list