error location missing for modules-schema-context test

Bug #866690 reported by Matthias Brantner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Matthias Brantner

Bug Description

mbrantner@losalamos:~/zorba/build$ /home/mbrantner/zorba/build/test/rbkt/testdriver w3c_testsuite/XQuery/SchemaImport/SchemaImportProlog/modules-schema-context.xq
test w3c_testsuite/XQuery/SchemaImport/SchemaImportProlog/modules-schema-context
=== Query: ===
(:*******************************************************:)
(: Test: modules-schema-contex.xq :)
(: Written By: Mary Holstege :)
(: Date: 2005/12/05 14:46:04 :)
(: Purpose: Test a module with a schema import. :)
(:*******************************************************:)

(: insert-start :)
import module namespace ctx="http://www.w3.org/TestModules/context";
declare variable $input-context external;
(: insert-end :)

<result>{ctx:use-schema() instance of xs:int}</result>

=== end of Query ===
Resolved module http://www.w3.org/TestModules/context -> file:///home/mbrantner/zorba/trunk/test/rbkt/Queries/w3c_testsuite/TestSources/context-lib.xqi
Resolved schema http://www.w3.org/XQueryTest/simple -> file:///home/mbrantner/zorba/trunk/test/rbkt/Queries/w3c_testsuite/TestSources/simple.xsd
Unexpected error executing query:
XPTY0004: The type [UserDefinedXQType myType@http://www.w3.org/XQueryTest/simple isAtomic simpleContent base:xs:int ] is not among the in-scope schema types[line 0][column 0][file ]
Expected error(s): (none)

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

Fixed.

Revision history for this message
Matthias Brantner (matthias-brantner) wrote :

Confirmed that the error location is there. Hence, closing the bug. However, the test still fails due to W3C bug http://www.w3.org/Bugs/Public/show_bug.cgi?id=10291 which is captured in our bug #2993641.

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.