You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Geoff Wheeler (JIRA)" <xa...@xml.apache.org> on 2008/03/06 17:13:01 UTC
[jira] Created: (XALANJ-2437) TransformerImpl.setExtensionsTable
swallows TransformerException
TransformerImpl.setExtensionsTable swallows TransformerException
----------------------------------------------------------------
Key: XALANJ-2437
URL: https://issues.apache.org/jira/browse/XALANJ-2437
Project: XalanJ2
Issue Type: Improvement
Components: transformation, Xalan
Affects Versions: 2.7, 2.7.1
Environment: Java
Reporter: Geoff Wheeler
Priority: Minor
When the method TransformerImpl.setExtensionsTable encounters a TransformerException is catches it and prints out the stack trace to err. It seems like it would be better to throw this exception to allow the end user to handle it as they see fit.
In our experience we encountered an error stemming from invalid embedded Java code being included in a transform. The exception caught by TransformerImpl.setExtensionsTable contains extremely useful information as to the to cause and location of the problem. Another exception does get thrown later on, but it is just a NullPointerException that doesn't contain any information as to the original cause of the problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org