[Bug 2675] XPath fails to evaluate the sum of a number of different xpath expressions where each xpath expr evaluates to a large double value

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

           Summary: XPath fails to evaluate the sum of a number of different
                    xpath expressions where each xpath expr evaluates to a
                    large double value
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: Nina.Howlett@ib-s.ie
         QAContact: public-qt-comments@w3.org


XPath fails to evaluate the sum of 'n' different xpath expressions where each 
xpath expression evaluates to a large double value (where n > 1).

Example: 
when testing the following xpath expression against the xml listed below - the 
xpath evaluates as false when it should be true.

(/A/B/@ONE + /A/B/@TWO + /A/B/@THREE) = /A/B/@TOTAL

<A>
<B ONE="7824.581" TWO="522.26"  THREE="1258.11" TOTAL="9604.951"/>
</A>

Received on Friday, 6 January 2006 16:49:08 UTC