[Bug 3534] Missing schema imports in LocalNameFromQNameFuncXXX and NamespaceURIFromQNameFuncXXX

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

           Summary: Missing schema imports in LocalNameFromQNameFuncXXX and
                    NamespaceURIFromQNameFuncXXX
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: amassari@progress.com
         QAContact: public-qt-comments@w3.org


Using XQTS_current 1.20

These tests are already listed in other bug reports, but this particular
problems doesn't seem to be covered: they expect typed data (xs:QName) but they
don't load the grammar.
So the declaration

  declare default element namespace"QNameXSD";

should be changed into 

  import schema default element namespace "QNameXSD";

The queries are:

LocalNameFromQNameFunc001
LocalNameFromQNameFunc002
LocalNameFromQNameFunc003
LocalNameFromQNameFunc004
LocalNameFromQNameFunc018
LocalNameFromQNameFunc019
LocalNameFromQNameFunc020
NamespaceURIFromQNameFunc001
NamespaceURIFromQNameFunc002
NamespaceURIFromQNameFunc003
NamespaceURIFromQNameFunc004
NamespaceURIFromQNameFunc018
NamespaceURIFromQNameFunc019
NamespaceURIFromQNameFunc020

Also, the following two tests need the same change, plus they must be moved
from MinimalConformance:Functions:QNameFunc into
Optional:SchemaImport:LocalNameFromQNameFuncSI:

LocalNameFromQNameFunc005
NamespaceURIFromQNameFunc005

Received on Wednesday, 26 July 2006 10:56:51 UTC