You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ay...@apache.org on 2015/11/19 14:48:59 UTC

camel git commit: fix the test error in camel-saxon

Repository: camel
Updated Branches:
  refs/heads/master af73eb8fe -> 95834c0eb


fix the test error in camel-saxon


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/95834c0e
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/95834c0e
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/95834c0e

Branch: refs/heads/master
Commit: 95834c0ebdc939fe9926cc782fbfdedf128e5b3c
Parents: af73eb8
Author: Akitoshi Yoshida <ay...@apache.org>
Authored: Thu Nov 19 14:48:30 2015 +0100
Committer: Akitoshi Yoshida <ay...@apache.org>
Committed: Thu Nov 19 14:48:30 2015 +0100

----------------------------------------------------------------------
 .../org/apache/camel/language/xpath/XPathLanguageTest.xml          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/95834c0e/components/camel-saxon/src/test/resources/org/apache/camel/language/xpath/XPathLanguageTest.xml
----------------------------------------------------------------------
diff --git a/components/camel-saxon/src/test/resources/org/apache/camel/language/xpath/XPathLanguageTest.xml b/components/camel-saxon/src/test/resources/org/apache/camel/language/xpath/XPathLanguageTest.xml
index 4012e570..46fefc6 100644
--- a/components/camel-saxon/src/test/resources/org/apache/camel/language/xpath/XPathLanguageTest.xml
+++ b/components/camel-saxon/src/test/resources/org/apache/camel/language/xpath/XPathLanguageTest.xml
@@ -73,7 +73,7 @@
     <route>
       <from uri="direct:testSaxonWithFactoryPredicate"/>
       <filter>
-        <xpath factoryRef="saxonFactory" documentType="org.xml.sax.InputSource" resultType="java.lang.String">tokenize(a, '\|')[1] = 'Hello'</xpath>
+        <xpath factoryRef="saxonFactory" documentType="javax.xml.transform.sax.SAXSource" resultType="java.lang.String">tokenize(a, '\|')[1] = 'Hello'</xpath>
         <log message="Test Saxon with factory: ${body}"/>
         <to uri="mock:testSaxonWithFactoryResultPredicate"/>
       </filter>