camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [3/3] camel git commit: fix schematron classpath uri resolver
Date Sun, 03 Apr 2016 06:58:02 GMT
fix schematron classpath uri resolver


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

Branch: refs/heads/camel-2.16.x
Commit: 0d89523e21ef085d164e0876d7c1e9f98d073dd6
Parents: 4b7093b
Author: syakimovich <s0yakimovich@gmail.com>
Authored: Sat Apr 2 19:05:51 2016 +0300
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sun Apr 3 08:56:56 2016 +0200

----------------------------------------------------------------------
 .../camel/component/schematron/processor/ClassPathURIResolver.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0d89523e/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/ClassPathURIResolver.java
----------------------------------------------------------------------
diff --git a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/ClassPathURIResolver.java
b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/ClassPathURIResolver.java
index 1fc8a9a..ddc1725 100644
--- a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/ClassPathURIResolver.java
+++ b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/ClassPathURIResolver.java
@@ -39,6 +39,6 @@ public class ClassPathURIResolver implements URIResolver {
     @Override
     public Source resolve(String href, String base) throws TransformerException {
         return new StreamSource(ClassPathURIResolver.class.getClassLoader()
-                .getResourceAsStream(rulesDir.concat(File.separator).concat(href)));
+                .getResourceAsStream(rulesDir.concat("/").concat(href)));
     }
 }


Mime
View raw message