[Bug 21619] wrong results when handeling -0 negativeZero

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

--- Comment #2 from Cezar Andrei <cezar.andrei@gmail.com> ---
It's odd that decimal doesn't support -0 while float and double does. The
XMLSchema 1.1 it not very clear, defines the value space of decimal by using
the value space of integer, while the value space of integer says only: "The
·value space· of integer is the infinite set {...,-2,-1,0,1,2,...}." 

If this means that there is no -0 as a decimal, which means that the test case
prod-OrderByClause/orderBy20 and orderBy21 have the wrong result. 

The tests cases parses -0 (from orderData.xml) as a decimal (according to
orderData.xsd) and returns it, just like prod-FLWORExpr/ForExprType010 and
prod-OrderByClause/orderBy26. But the result is expected as -0.

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

Received on Monday, 8 April 2013 23:37:21 UTC