context.getProfiler().traceQueryStart();
pm.queryStarted(context.getWatchDog());
final FunctionCall call = new FunctionCall(context, function);
call.setArguments(args);
call.analyze(new AnalyzeContextInfo());
call.eval(NodeSet.EMPTY_SET);
}
} catch(final XPathException e) {
TriggerStatePerThread.setTriggerRunningState(TriggerStatePerThread.NO_TRIGGER_RUNNING, this, null);
TriggerStatePerThread.setTransaction(null);