Repository: camel Updated Branches: refs/heads/camel-2.16.x 4b7093b73 -> 0d89523e2 refs/heads/camel-2.17.x 41fe473e0 -> 0570a2aa6 refs/heads/master cab217c21 -> c43d423e7
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/c43d423e Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c43d423e Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c43d423e Branch: refs/heads/master Commit: c43d423e73671c163cea4062732fb39e63712284 Parents: cab217c Author: syakimovich <[email protected]> Authored: Sat Apr 2 19:05:51 2016 +0300 Committer: Claus Ibsen <[email protected]> Committed: Sun Apr 3 08:56:16 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/c43d423e/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))); } }
