<BUG>tempContext.setModuleLoadPath(context.getModuleLoadPath());Module module = tempContext.importModule(null, null, args[0].getStringValue());if (module == null)</BUG><CONTEXT>@Overridepublic Sequence eval(Sequence[] args, Sequence contextSequence) throws XPathException {ValueSequence list = new ValueSequence();if (getArgumentCount() == 1) {XQueryContext tempContext = new XQueryContext(context.getBroker().getBrokerPool(), AccessContext.XMLDB);<extra_id_0>return Sequence.EMPTY_SEQUENCE;addFunctionRefsFromModule(tempContext, list, module);</CONTEXT>
Module module;if (isCalledAs("module-functions-by-uri"))module = tempContext.importModule(args[0].getStringValue(), null, null);elseif (module == null)