You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Sergey (JIRA)" <ji...@apache.org> on 2015/03/18 11:35:39 UTC

[jira] [Created] (CAMEL-8504) Failed to process Schematron XSLT templates and/or rules on windows

Sergey  created CAMEL-8504:
------------------------------

             Summary: Failed to process Schematron XSLT templates and/or rules on windows
                 Key: CAMEL-8504
                 URL: https://issues.apache.org/jira/browse/CAMEL-8504
             Project: Camel
          Issue Type: Bug
          Components: camel-schematron
            Reporter: Sergey 


Code like this (from TemplatesFactory or ClassPathURIResolver classes) failed on windows, where File.separator is "\".

{code}
Source xsl = new StreamSource(ClassLoader.getSystemResourceAsStream(Constants.SCHEMATRON_TEMPLATES_ROOT_DIR
                        .concat(File.separator).concat(template)));
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)