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 1952 - Serialization in MinimalConformance:Expressions:FLWOR:OrderbyExpr:OrderbyExprWith:orderBy25
Summary: Serialization in MinimalConformance:Expressions:FLWOR:OrderbyExpr:OrderbyExp...
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.6.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Carmelo Montanez
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 18:18 UTC by Jonathan Robie
Modified: 2005-12-02 21:00 UTC (History)
0 users

See Also:


Attachments

Description Jonathan Robie 2005-09-01 18:18:59 UTC
MinimalConformance:Expressions:FLWOR:OrderbyExpr:OrderbyExprWith:orderBy25

 expects xs:float(-1.000.000) to be serialized as
 -1000000, but the specs says "If SV has an
 absolute value that is greater than or equal to
 0.000001 (one millionth) and less than 1000000
 (one million), then the value is converted to an
 xs:decimal .." (note the "less than", not "less
 than or equal"), so the correct serialization is
 -1.0E6; also, some other values like -1.0E11 are serialized as
 -9.9999998E10
Comment 1 Carmelo Montanez 2005-09-21 15:19:37 UTC
Agree.  Results were fixed to show correct serialization as follows:
<results xmlns="http://www.w3.org/XQueryTestOrderBy">-0 -1 -10 -100 -1000 -
10000 -100000 -1.0E6 -1.0E7 -1.0E8 -1.0E9 -1.0E10 -1.0E11 -1.0E12 -1.0E13 -
1.0E14 -1.0E15 -1.0E16 -1.0E17</results>

(all one single line, ignore newlines)

Please close the bug if you agree.
Comment 2 Carmelo Montanez 2005-09-27 10:54:08 UTC
Agree with suggestion.  Changed the expected results to reflect the correct
serialization of floats.

Carmelo
Comment 3 Carmelo Montanez 2005-12-02 21:00:29 UTC
Hope is ok to close this bug.