W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2002

Duration lexical form?

From: by way of <ross@contivo.com>
Date: Wed, 11 Dec 2002 17:58:54 -0700
Message-Id: <5.1.0.14.1.20021211175851.03a065d0@localhost>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>





I can't confirm this hasn't already been mentioned, since there is no
2E yet for part 2.  However, in reading 1E, I see the following:

Section 3.2.6.1, second paragraph

     The values of the Year, Month, Day, Hour and Minutes components
     are not restricted but allow an arbitrary integer. Similarly, the
     value of the Seconds component allows an arbitrary decimal. Thus,
     the lexical representation of duration does not follow the
     alternative format of  5.5.3.2.1 of [ISO 8601].

Arbitrary integer?  So, like -3?  I see nothing that prohibits
P12Y4M-3D except in the last paragraph of this subsection, which is
too chatty to feel normative.

Should the first two quoted sentences above prose not read

     The values of the Year, Month, Day, Hour and Minutes components
     are not restricted but allow an arbitrary __non-negative__
     integer.  Similarly, the value of the Seconds component allows an
     arbitrary __non-negative__ decimal.

?

- Roß

---
Dyslexics untie! 
Received on Wednesday, 11 December 2002 20:00:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:01 GMT