You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2015/03/19 07:13:03 UTC

[1/2] camel git commit: CAMEL-8504 Fixed the Schematron XSLT templates loading issue on windows

Repository: camel
Updated Branches:
  refs/heads/camel-2.14.x 238ff59bb -> 2dcc05dfe
  refs/heads/camel-2.15.x 4ed3dc4c9 -> f6240e691


CAMEL-8504 Fixed the Schematron XSLT templates loading issue on windows


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

Branch: refs/heads/camel-2.15.x
Commit: f6240e691f01b01d29cb1398d0401abd313e5443
Parents: 4ed3dc4
Author: Willem Jiang <wi...@gmail.com>
Authored: Thu Mar 19 14:09:00 2015 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Thu Mar 19 14:12:24 2015 +0800

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


http://git-wip-us.apache.org/repos/asf/camel/blob/f6240e69/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java
----------------------------------------------------------------------
diff --git a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java
index 15ed864..3e47150 100644
--- a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java
+++ b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java
@@ -83,7 +83,7 @@ public final class TemplatesFactory {
         try {
             for (String template : PIPELINE) {
                 Source xsl = new StreamSource(ClassLoader.getSystemResourceAsStream(Constants.SCHEMATRON_TEMPLATES_ROOT_DIR
-                        .concat(File.separator).concat(template)));
+                        .concat("/").concat(template)));
                 Transformer t = fac.newTransformer(xsl);
                 DOMResult result = new DOMResult();
                 t.transform(source, result);


[2/2] camel git commit: CAMEL-8504 Fixed the Schematron XSLT templates loading issue on windows

Posted by ni...@apache.org.
CAMEL-8504 Fixed the Schematron XSLT templates loading issue on windows


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

Branch: refs/heads/camel-2.14.x
Commit: 2dcc05dfecc2bf8e2239469c90013b0ddda04fdb
Parents: 238ff59
Author: Willem Jiang <wi...@gmail.com>
Authored: Thu Mar 19 14:09:00 2015 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Thu Mar 19 14:12:35 2015 +0800

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


http://git-wip-us.apache.org/repos/asf/camel/blob/2dcc05df/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java
----------------------------------------------------------------------
diff --git a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java
index 15ed864..3e47150 100644
--- a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java
+++ b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java
@@ -83,7 +83,7 @@ public final class TemplatesFactory {
         try {
             for (String template : PIPELINE) {
                 Source xsl = new StreamSource(ClassLoader.getSystemResourceAsStream(Constants.SCHEMATRON_TEMPLATES_ROOT_DIR
-                        .concat(File.separator).concat(template)));
+                        .concat("/").concat(template)));
                 Transformer t = fac.newTransformer(xsl);
                 DOMResult result = new DOMResult();
                 t.transform(source, result);