camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-8504) Failed to process Schematron XSLT templates and/or rules on windows
Date Wed, 18 Mar 2015 10:35:39 GMT
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)

Mime
View raw message