You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/08/05 07:54:43 UTC

[camel] branch master updated: Upgrade Saxon and related bundle to version 9.9.1-4

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new d59b19d  Upgrade Saxon and related bundle to version 9.9.1-4
d59b19d is described below

commit d59b19df2f7e5028fbbf49fdbf3cb5476b36db32
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 5 09:54:00 2019 +0200

    Upgrade Saxon and related bundle to version 9.9.1-4
---
 .../org/apache/camel/component/xslt/SaxonXsltFeatureRouteTest.java    | 4 +++-
 parent/pom.xml                                                        | 4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/components/camel-saxon/src/test/java/org/apache/camel/component/xslt/SaxonXsltFeatureRouteTest.java b/components/camel-saxon/src/test/java/org/apache/camel/component/xslt/SaxonXsltFeatureRouteTest.java
index 97f160a..e9aaa8b 100644
--- a/components/camel-saxon/src/test/java/org/apache/camel/component/xslt/SaxonXsltFeatureRouteTest.java
+++ b/components/camel-saxon/src/test/java/org/apache/camel/component/xslt/SaxonXsltFeatureRouteTest.java
@@ -23,6 +23,8 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
+import net.sf.saxon.trans.UncheckedXPathException;
+
 public class SaxonXsltFeatureRouteTest extends CamelTestSupport {
 
     @Test
@@ -39,7 +41,7 @@ public class SaxonXsltFeatureRouteTest extends CamelTestSupport {
         } catch (Exception ex) {
             // expect an exception here
             assertTrue("Get a wrong exception", ex instanceof CamelExecutionException);
-            assertTrue("Get a wrong exception cause", ex.getCause() instanceof TransformerException);
+            assertTrue("Get a wrong exception cause", ex.getCause() instanceof UncheckedXPathException);
         }
        
     }
diff --git a/parent/pom.xml b/parent/pom.xml
index a33d766..0a247ee 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -544,8 +544,8 @@
         <rome-version>1.12.1</rome-version>
         <rxjava-version>1.3.8</rxjava-version>
         <rxjava2-version>2.2.10</rxjava2-version>
-        <saxon-bundle-version>9.9.1-3_1</saxon-bundle-version>
-        <saxon-version>9.9.1-3</saxon-version>
+        <saxon-bundle-version>9.9.1-4_1</saxon-bundle-version>
+        <saxon-version>9.9.1-4</saxon-version>
         <scala-version>2.11.7</scala-version>
         <scala-maven-plugin-version>3.2.2</scala-maven-plugin-version>
         <scribe-version>1.3.7</scribe-version>