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

Claus Ibsen resolved CAMEL-7688.
--------------------------------

    Resolution: Fixed

Thanks for the patch.

> XPathBuilder initDefaultXPathFactory implementation incorrect
> -------------------------------------------------------------
>
>                 Key: CAMEL-7688
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7688
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.12.3
>            Reporter: Chris Watts
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.14.0
>
>         Attachments: camel-core-xpathbuild.patch
>
>
> The implementation of initDefaultXPathFactory uses instance and static 
> variables to initialize a static XPathFactory then overrides it anyway.
> Looks like so old code that was never removed plus a bug where it's not using 
> the implementation specified on the command line.
> I've also added a function to allow the default to be passed in, this allows 
> the jvm deafult to be different from the XPathBuilder (saves having to set it 
> on every xpath factory created).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to