This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 3026 - value space of xs:duration has been expanded
Summary: value space of xs:duration has been expanded
Status: CLOSED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Datatypes: XSD Part 2 (show other bugs)
Version: 1.1 only
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard: thimble, easy
Keywords: noResponse
Depends on:
Blocks:
 
Reported: 2006-03-21 19:00 UTC by Andrew Eisenberg
Modified: 2006-11-14 00:28 UTC (History)
0 users

See Also:


Attachments

Description Andrew Eisenberg 2006-03-21 19:00:03 UTC
5.1 Partial Implementation of Infinite Datatypes

A minimally conforming XML Schema 1.0 processor was required to support a duration value with 4 digits in the year component. This limit has been raised to "All ·minimally conforming· processors must support duration values with from -2,000,000,000 to 2,000,000,000 months and from -2,000,000 to 2,000,000 seconds." This seems excessive.

This comment has been entered on behalf of the XML Query and XSL WGs.
Comment 1 Dave Peterson 2006-09-30 14:48:28 UTC
The WG has changed the limits so that the months coordinate is limited to from -119999 to 119999 months (9999 years and 11 months) and the seconds coordinate (which wasn't mentioned in the original comment) is limited to from -31622400 to 31622400 seconds (one leap-year).

(In 1.0 the six coordinates--year, month, day, hour, minute, second--were separate and not normalized.  Only the year coordinate had a specified minimum partial implementation, which was from -9999 to 9999.  The choice of 9999 years and 11 months as the limit for the 1.1 month coordinate corresponds to the 1.0 limit with month normalized.  The choice of one leap-year's worth of seconds was more arbitrary.)

Please let us know if you agree with this resolution of your issue, 
by adding a comment to the issue record and changing the Status of 
the issue to Closed.  Or, if you do not agree with this resolution, 
please add a comment explaining why. If you wish to appeal the WG's 
decision to the Director, then also change the Status of the record 
to Reopened. If you wish to record your dissent, but do not wish to 
appeal the decision to the Director, then change the Status of the 
record to Closed.  If we do not hear from you in the next two weeks, 
we will assume you agree with the WG decision.