Project

Profile

Help

Revision f7307d82

Added by Michael Kay almost 14 years ago

Fix bug 1820142 - can't import Java types across XQuery modules

View differences:

latest8.9/bj/net/sf/saxon/query/QueryReader.java
297 297
        String uri = env.getNamePool().getURI(fingerprint);
298 298
        if (uri.equals(NamespaceConstant.SCHEMA)) {
299 299
            return;
300
        } else if (uri.equals(NamespaceConstant.ANONYMOUS)) {
300
        } else if (uri.equals(NamespaceConstant.ANONYMOUS) || uri.equals(NamespaceConstant.JAVA_TYPE)) {
301 301
            return;
302 302
        } if (env.isImportedSchema(uri)) {
303 303
            return;   // schema namespace is imported in this module

Also available in: Unified diff