camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien G-B (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5195) XSLTUriResolver fails to include from classpath under windows
Date Fri, 20 Apr 2012 15:28:39 GMT

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

Julien G-B commented on CAMEL-5195:
-----------------------------------

Thanks for the patch, it fixes the problem.

In case you still need the info, the endpoint:
{code:xml}
<to uri="xslt:xslt/transform.xsl" />
{code}

the include:
{code:xml}
<xsl:stylesheet [...]>
	<xsl:include href="included.xsl" />
[...]
{code}

Both transform.xsl and included.xsl are in the "/xslt" path of an OSGi bundle deployed to
Fuse ESB/Apache Servicemix.

                
> 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
>    Affects Versions: 2.9.0
>         Environment: Windows
>            Reporter: Julien G-B
>            Assignee: Claus Ibsen
>            Priority: Minor
>              Labels: xslt
>             Fix For: 2.9.3, 2.10.0
>
>
> 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

        

Mime
View raw message