Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9119

XSLT errors should not be ignored

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.14.3
    • 2.16.0, 2.15.4
    • camel-core
    • None
    • ServiceMix 5.4.1

    • Patch Available
    • 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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            metatech metatech
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified