DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13944>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13944 JavaExtension: method is called twice when an Exception is thrown Summary: JavaExtension: method is called twice when an Exception is thrown Product: XalanJ2 Version: 2.4 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When calling a method in a java object from the XSL stylesheet, and if this method throws an exception, the method is called again. Maybe the code could be fixed in org.apache.xalan.extensions.ExtensionHandlerJavaPackage, in method "callFunction", at around line #320. Would it be possible to check the type of exception before trying the other invoke? Or is this implemented the way it should be and java classes used through java extensions should not expect the parser to stop when throwing an exception? Claude Montpetit
