[Bug 25084] New: cbcl-avg-010 can return NaN

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25084

            Bug ID: 25084
           Summary: cbcl-avg-010 can return NaN
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

Tes cbcl-avg-010 is:

avg((xs:double("NaN"), current-date() - xs:date("1997-01-01") ))

I believe that under "Errors and Optimization", NaN is a legitimate result.
Once an xs:double NaN value has been found in the input sequence, the only
possible outcomes are NaN or an error, so the processor is entitled to take an
early bath and return NaN.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 17 March 2014 18:16:25 UTC