[Bug 3877] Limits on dayTimeDuration

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3877

           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
seconds.

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