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 12:44:38 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14367024#comment-14367024 ] 

Sergey  commented on CAMEL-8504:
--------------------------------

Looks like TemplatesFactory should also be fixed.

> 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)