W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2006

[Bug 3610] Test fn-avgflt2args-1 answers are incorrect

From: <bugzilla@wiggum.w3.org>
Date: Mon, 21 Aug 2006 12:59:51 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GF9Nf-0004J5-Gt@wiggum.w3.org>

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

           Summary: Test fn-avgflt2args-1 answers are incorrect
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: jsnelson@sleepycat.com
         QAContact: public-qt-comments@w3.org


The test is:

fn:avg((xs:float("-3.4028235E38"),xs:float("-3.4028235E38")))

the test result required is:

-INF

but I think that "-3.4028235E38" should also be allowed as a valid answer. This
would allow an XQuery implementation to use an average function with greater
precision, and seems to fall within the limits of the spec. This new result is
still within the limits imposed on xs:float datatypes.
Received on Monday, 21 August 2006 12:59:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:44 GMT