w3c_testsuite/SchemaImport/SeqExprCastSI/casthcds9

Bug #866200 reported by Nicolae Brinza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Won't Fix
Medium
Sorin Marian Nasoi

Bug Description

The w3c_testsuite/SchemaImport/SeqExprCastSI/casthcds9 test fails. The casting is not performed correctly.

Test result:
----------------------------------------------------------
test w3c_testsuite/SchemaImport/SeqExprCastSI/casthcds9
Query:
(: Name: casthcds9 :)
(: Description: Simple test for casting a float as a string - XML Data Source :)
(: insert-start :)
import schema namespace atomic = "http://www.w3.org/XQueryTest" at "$RBKT_SRC_DIR/Queries/w3c_testsuite/TestSources/atomic.xsd";
declare variable $input-context1 external;
(: insert-end :)

(($input-context1/atomic:root/atomic:float) cast as xs:string)

testdriver is using optimization level O1
Result:
<?xml version="1.0" encoding="UTF-8"?>
1267.43233E12
=== end of result ===

Result does not match expected result:
<?xml version="1.0" encoding="UTF-8"?>
1.26743233E15
=== end of expected result ===
See line 3, col -1 of expected result.

Tags: core-runtime
Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

Added a comment in the KNOWN_ISSUES.txt and set the bug status to WON'T FIX.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.