#406 XQuery moduleURIResolver

v8.5.1
closed
Michael Kay
5
2014-08-12
2005-09-12
Michael Kay
No

The -mr option on the XQuery command line does not
work, it always throws an error.

Source fix: change the method
setModuleURIResolver(String) at line 549 of
net.sf.saxon.Configuration to read:

public void setModuleURIResolver(String className)

throws TransformerException {
Object obj = getInstance(className, null);
if (obj instanceof ModuleURIResolver) {
setModuleURIResolver((ModuleURIResolver)obj);
} else {
throw new DynamicError("Class " + className
+ " is not a ModuleURIResolver");
}
}

Michael Kay

Discussion