camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Watts (JIRA)" <>
Subject [jira] [Created] (CAMEL-7688) XPathBuilder initDefaultXPathFactory implementation incorrect
Date Wed, 13 Aug 2014 03:17:13 GMT
Chris Watts created CAMEL-7688:

             Summary: XPathBuilder initDefaultXPathFactory implementation incorrect
                 Key: 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

View raw message