* Caution: XQueryTraceListener is not strictly thread-safe. This is
* mostly harmless given its current implementation. Nonetheless,
* it's better not to use tracing in multi-threaded production use;
* use this only in development/profiling stages.
*/
config.setTraceListener(new XQueryTraceListener());
config.setTraceExternalFunctions(true);
// config.setTiming(true);
}
return config;