Project

Profile

Help

saxon9api.dll - error listener

Added by Anonymous over 16 years ago

Legacy ID: #5157912 Legacy Poster: pvallone (pvallone)

Hi, Is there a way using the .NET saxon9api.dll to listen for errors? In java I would assign an errorlistener to the transformer instance, but in .net that doesn't seem possible. Basically, I want to get a more detailed error report. Currently when I catch an exception, its very general. I would like to know the exact error and line number. Thanks, Phil Also, I tried sending this to the saxon list, but received this error: Your message cannot be delivered to the following recipients: Recipient address: Reason: Remote SMTP server has rejected address


Replies (2)

RE: saxon9api.dll - error listener - Added by Anonymous over 16 years ago

Legacy ID: #5158527 Legacy Poster: Michael Kay (mhkay)

You can capture compile-time XSLT errors using the ErrorList property of the XsltCompiler. For run-time errors, all the required information should be present in the various properties of the DynamicError exception that is thrown. You may need to test whether the exception is a DynamicError before looking at these properties. I can't help you with your mailing issues - please contact sourceforge for help with this. Michael Kay

RE: saxon9api.dll - error listener - Added by Anonymous over 16 years ago

Legacy ID: #5158738 Legacy Poster: pvallone (pvallone)

Thanks. Have a great vacation!

    (1-2/2)

    Please register to reply