How to get debug information like "Building tree for ..." and "Streaming ..." with Saxon 9.8 and using JAXP StreamingTransformerFactory
Replies (1)
Please register to reply
Added by Martin Honnen over 7 years ago
When I use Saxon 9.8 EE from the command line with the @-t@ option it outputs a message like "Streaming file:/C:/SomePath/file.xml" when processing a file using streaming and "Building tree for file:/C:/SomePath/file.xml" when processing a file without streaming.
Is there any way to enable such messages being output to System.err when using Saxon 9.8 EE from a Java program, in particular using JAXP and StreamingTransformerFactory?
I looked through http://saxonica.com/html/documentation/configuration/config-features.html but I couldn't find anything obviously related to those messages.
It's very badly named, but the key you want is FeatureKeys.TIMING.
Please register to reply