camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject camel git commit: CAMEL-8504 Fixed the Schematron XSLT templates loading issue on windows
Date Thu, 19 Mar 2015 06:10:17 GMT
Repository: camel
Updated Branches:
  refs/heads/master d808253c0 -> ed8d6c30b


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/ed8d6c30
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ed8d6c30
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ed8d6c30

Branch: refs/heads/master
Commit: ed8d6c30bd417b3fb166c675ad97832e66846af6
Parents: d808253
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Thu Mar 19 14:09:00 2015 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Thu Mar 19 14:09:58 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/ed8d6c30/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);


Mime
View raw message