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 2380 - orderBy45 results use incorrect numeric format
Summary: orderBy45 results use incorrect numeric format
Status: CLOSED 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: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-19 10:34 UTC by Michael Kay
Modified: 2005-10-20 21:56 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-10-19 10:34:36 UTC
In the results of orderBy45, the third value in the sequence is given as
"0.0010". The trailing insignificant zero is not permitted by the spec.
Comment 1 Michael Kay 2005-10-19 10:37:35 UTC
Related problem: in orderBy52 the first value is formatted as "-0.0". This
should be simply "0" (in fact, it's not just a formatting error: the result of
an addition should never be negative zero).
Comment 2 Michael Kay 2005-10-20 10:16:59 UTC
Another related problem: in orderBy35, the value one million is shown as
1000000; it should be 1.0E6
Comment 3 Carmelo Montanez 2005-10-20 21:01:32 UTC
Agree. Changes were done as follows:

orderBy45 - insignificant "0" was removed.
orderBy52 - Value was changed to 0.
orderBy35 - I was misreading the specs.  Value was changed to 1.0E6.

Please close the bug if you agree with resolutions.

Carmelo