Project

Profile

Help

Revision eab954a0

Added by Michael Kay over 12 years ago

Fix bug 2688052 (type-Available('xs:anyType'))

View differences:

latest9.1/bj/net/sf/saxon/functions/Available.java
109 109
                        if (type instanceof BuiltInAtomicType) {
110 110
                            b = env.isAllowedBuiltInType((BuiltInAtomicType)type);
111 111
                        } else {
112
                            b = (type != null && env.isImportedSchema(uri));
112
                            b = (type != null && (NamespaceConstant.SCHEMA.equals(uri) || env.isImportedSchema(uri)));
113 113
                        }
114 114
                    }
115 115
                } catch (QNameException e) {

Also available in: Unified diff