[Bug 2254] Example of subtraction of dates gives wrong result

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

           Summary: Example of subtraction of dates gives wrong result
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: colin@colina.demon.co.uk
         QAContact: public-qt-comments@w3.org


The second example in 10.8.2.1 says the result is 335 days and 19 hours. In fact
it is 336 days and 19 hours (Year 2000 was a leap year).

Received on Friday, 16 September 2005 10:51:33 UTC