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

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

     [ https://issues.apache.org/jira/browse/CAMEL-8504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-8504.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.16.0
                   2.15.1
                   2.14.3

Applied the patch into camel master, camel-2.15.x and camel-2.14.x branches.

> 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 
>            Assignee: Willem Jiang
>             Fix For: 2.14.3, 2.15.1, 2.16.0
>
>
> 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)