You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Chris Watts (JIRA)" <ji...@apache.org> on 2014/08/13 05:17:13 UTC

[jira] [Created] (CAMEL-7688) XPathBuilder initDefaultXPathFactory implementation incorrect

Chris Watts created CAMEL-7688:
----------------------------------

             Summary: XPathBuilder initDefaultXPathFactory implementation incorrect
                 Key: CAMEL-7688
                 URL: https://issues.apache.org/jira/browse/CAMEL-7688
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.12.3
            Reporter: Chris Watts


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)