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

[Bug 3877] Limits on dayTimeDuration

From: <bugzilla@wiggum.w3.org>
Date: Sat, 28 Oct 2006 16:46:50 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1GdrKc-000174-D7@wiggum.w3.org>


           Summary: Limits on dayTimeDuration
           Product: XML Schema
           Version: 1.1 only
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Datatypes: XSD Part 2
        AssignedTo: cmsmcq@w3.org
        ReportedBy: mike@saxonica.com
         QAContact: www-xml-schema-comments@w3.org

The draft Schema 1.1 Part 2 (section 5.1) proposes:

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

2 million seconds is only 23 days. This means that an XSLT/XQuery user will not
be able to take a date and add 30 days without running the risk of arithmetic
overflow. But this is an everyday commercial calculation. 

This seems an unreasonably low limit from the point of view of user
expectations of interoperability.
Received on Saturday, 28 October 2006 16:46:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:05 UTC