[Bug 9925] New: wrong expected result in w3c_testsuite/XQuery/SchemaImport/SchemaImportProlog/modules-schema-context.xq

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9925

           Summary: wrong expected result in
                    w3c_testsuite/XQuery/SchemaImport/SchemaImportProlog/m
                    odules-schema-context.xq
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: markos_za@yahoo.com
         QAContact: public-qt-comments@w3.org


This report is about query
w3c_testsuite/XQuery/SchemaImport/SchemaImportProlog/modules-schema-context.xq
in XQTS_current.

In XQTS, the expected result is <result>true</result>. But I think the query
should return an error (XPTY0004), or at least accept this error as an
alternative valid result. This is because the "simple" schema is not imported
by the main query, so the type of the item returned by the use-schema()
function is not in the in-scope type definitions of the main query. This type
is needed to execute the instanceof expression.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 14 June 2010 16:53:52 UTC