This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2390 - orderBy55: negative zero
Summary: orderBy55: negative zero
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.7.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-19 21:31 UTC by Michael Kay
Modified: 2006-03-10 20:00 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2005-10-19 21:31:09 UTC
In the results of orderBy55, a value represented as -0 in the source document
appears as -0 in the expected output. However, the schema type of
NegativeNumbers/orderData is decimal, so the typed value of the element node is
decimal zero (there is no decimal negative zero), and the result of converting
this to a float is positive zero. Therefore it must appear in the output as "0",
not as "-0".
Comment 1 Carmelo Montanez 2005-10-21 13:06:02 UTC
Andrew/Mike:

This is one of my tests.  I agree with Mike's assestment.  Value was
changed to "0". Please close bug if you agree with resolution.

Thanks,
Carmelo
Comment 2 Michael Kay 2006-03-08 22:02:02 UTC
The bug has not been fixed in 0.8.6 - the expected results still contain "-0".
Comment 3 Carmelo Montanez 2006-03-10 20:00:22 UTC
Sorry, No idea how I missed this. I Changed the value.  Close the bug when able
to verify.

Thanks,
Carmelo