final UserDefinedFunction function = context.resolveFunction(functionName, urls.length);
if (function != null) {
final List<Expression> args = new ArrayList<Expression>(urls.length);
for (int i = 0; i < urls.length; i++)
args.add(new LiteralValue(context, new AnyURIValue(urls[i])));
pm = broker.getBrokerPool().getProcessMonitor();
context.getProfiler().traceQueryStart();
pm.queryStarted(context.getWatchDog());