w3c_testsuite/SchemaImport/SchemaImportProlog/schema-import-

Bug #866208 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/SchemaImportProlog/schema-import-13 test fails.

The log:
----------------------------------------------------------
test w3c_testsuite/SchemaImport/SchemaImportProlog/schema-import-13
Query:
(: Name: schema-import-13:)
(: Description: Evaluation of usage of xs:float type as argument to fn:max(). :)

(: 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 :)

(fn:max(($input-context1//atomic:float,$input-context1//atomic:float))) eq xs:float(1.26743233E15)

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

Result does not match expected result:
<?xml version="1.0" encoding="UTF-8"?>
true
=== end of expected result ===

The fn:max(($input-context1//atomic:float,$input-context1//atomic:float)) part returns 1.26743233E15, but the comparison returns false.

Revision history for this message
Nicolae Brinza (nbrinza) wrote :

The following tests seem to fail because of the same reason:

w3c_testsuite/SchemaImport/SchemaImportProlog/schema-import-5
w3c_testsuite/SchemaImport/SchemaImportProlog/schema-import-9
w3c_testsuite/SchemaImport/SchemaImportProlog/schema-import-17
w3c_testsuite/SchemaImport/SchemaImportProlog/schema-import-25

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

Added the bug to the KNOWN_ISSUES file in 5535.

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.