camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "metatech (JIRA)" <>
Subject [jira] [Created] (CAMEL-9119) XSLT errors should not be ignored
Date Mon, 07 Sep 2015 13:33:46 GMT
metatech created CAMEL-9119:

             Summary: XSLT errors should not be ignored
                 Key: CAMEL-9119
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.14.3
         Environment: ServiceMix 5.4.1
            Reporter: metatech

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
Here is a small patch that fixes that.
The test "XsltTestErrorListenerTest" is still successful.

This message was sent by Atlassian JIRA

View raw message