[Bug 15731] [QT3] orderBy29a, orderBy52a

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

Andrew Eisenberg <andrew.eisenberg@us.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Andrew Eisenberg <andrew.eisenberg@us.ibm.com> 2012-02-28 22:57:11 UTC ---
I believe that -0 cannot appear in this result. The test case is:

        declare default element namespace
"http://www.w3.org/XQueryTestOrderBy"; 
        <results> { 
            for $x in /DataValues/NegativeNumbers/orderData 
            order by ($x * -1) descending 
            return ($x * -1e0) (:force to xs:double:) 
        } </results>

This test case uses orderdata2, so that the source document is not validated.
The source document contains an xs:untypedAtomic -0 value. The return
multiplication first casts this to xs:double -0 and then does the
multiplication, returning xs:double 0.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 28 February 2012 22:57:14 UTC