Saxon Validation Errors

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Saxon Validation Errors

HKuan
Hello,

I am using Saxon to do my transformations.  However, I am currently stuck trying to get the errors from System.err that gets printed by Saxon.  How do I get those errors returned to my java application?

Example Error: Error at xsl:if on line 143 column 132 of template.xsl

I tried creating a custom ErrorHandler and adding it to my XMLReader, but it does not seem like it is working.

Thanks for the help!