camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [2/2] camel git commit: CAMEL-8504 Fixed the Schematron XSLT templates loading issue on windows
Date Thu, 19 Mar 2015 06:13:04 GMT
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 <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: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);


Mime
View raw message