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

Hadrian Zbarcea commented on CAMEL-5505:
----------------------------------------

Alexander, I understand what you wanted to do and why. From one point of view 
Claus is somewhat right in his statement that you are "correct in this patch" 
in the sense that you followed the same pattern in use in Camel today. My 
statement was that the logic in camel-core is flawed and not using '#' means 
one less place to clean up in the future. As you point out, the 'logic' in 
camel-core is kinda random, replacing chars with other chars, thus creating 
undocumented and even unknown to us edge cases that pop up a lot lately. There 
are other flaws, like adding the extra '//' thus not allowing for urns at all, 
and others. The fact that it stayed like this for 4+ years is imho not an 
assurance that it's correct.

                
> Unable to customize URIResolver in xslt component
> -------------------------------------------------
>
>                 Key: CAMEL-5505
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5505
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.0, 2.11.0
>            Reporter: Alexander Titov
>            Assignee: Hadrian Zbarcea
>            Priority: Minor
>              Labels: camel-core,, test, xslt
>         Attachments: camel-core-xslt-CustomURIResolver.patch
>
>
> In xslt component we can't customize uriResolver For instance in route with 
> uri 
> "xslt:org/apache/camel/component/xslt/include_not_existing_resource.xsl?uriResolver=#customURIResolver"
>  camel still uses default XsltUriResolver.

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

        

Reply via email to