Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.14.3
-
Component/s: camel-core
-
Labels:None
-
Environment:
ServiceMix 5.4.1
-
Patch Info:Patch Available
-
Estimated Complexity:Unknown
Description
Since CAMEL-4396, XSLT exceptions are not logged anymore on System.err.
Unfortunately, the XsltErrorHandler which was introduced does not behave as the default ErrorHandler which logs on System.err and re-throws exceptions (my mistake).
The XsltErrorHandler should re-throw exceptions for ERROR or FATAL, otherwise they are ignored and the service is allowed to start, although the XSLT transformation is not successfully started.
Here is a small patch that fixes that.
The test "XsltTestErrorListenerTest" is still successful.