I know this should be something that has probably been discussed to
death here but I beg your collective patience. Question: How do I find
the line number (and more details) of a thrown
I can get to the bottom of a "Failed to compile stylesheet. 1 error
detected. " error? Given...
My LoggingErrorListener is made use of; a
TransformerConfigurationException in my case does occur and the
fatalError method is called. However, NOW I have an exception
occurring because of the exception.getMessage() call.
After numerous web searches and SourceForge searches, I am turning up
not much for canned examples of how to do this. I've also found that
archived maillist messages at SourceForge appear to be slowly purged.
Messages with a subject line that hint at "this might be what I'm
looking for!" aren't there anymore.
Is there anywhere on the web that gives a good example of using
ErrorListeners for the benefit of getting details on compilation errors
(line numbers and the like)?
I am using SAXON 8.5.1 under Java 1.5.
Jeffrey Schrab - Internet
Application Developer GS Design
• 6665 N. Sidney Place • Milwaukee, WI 53209 P: 414.228.9666 • F: 414.228.9652 • E:email@example.com