You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org> on 2012/04/20 17:00:42 UTC

[jira] [Commented] (CAMEL-5195) XSLTUriResolver fails to include from classpath under windows

    [ https://issues.apache.org/jira/browse/CAMEL-5195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258287#comment-13258287 ] 

Claus Ibsen commented on CAMEL-5195:
------------------------------------

Can you post your xslt endpoint, and snippets from your xslt template where you use xsl:include.
Mind that if you do not specfify a scheme in xsl:include, then its interpreted as relative to the path from the xstl endpoint.

                
> XSLTUriResolver fails to include from classpath under windows
> -------------------------------------------------------------
>
>                 Key: CAMEL-5195
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5195
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core, camel-xslt
>         Environment: Windows
>            Reporter: Julien G-B
>            Assignee: Claus Ibsen
>              Labels: xslt
>
> org.apache.camel.builder.xml.XsltUriResolver uses File.separator to separate classpath parts instead of simply '/'. This prevents <xsl:include /> to work under windows when the including xslt is located in a subfolder of the classpath.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira