[
https://issues.apache.org/jira/browse/CXF-4326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-4326.
------------------------------
Resolution: Fixed
> Remove the XPathFactory.newInstance from XPathUtils' constructor to improve
> the performance a bit
> -------------------------------------------------------------------------------------------------
>
> Key: CXF-4326
> URL: https://issues.apache.org/jira/browse/CXF-4326
> Project: CXF
> Issue Type: Improvement
> Affects Versions: 2.4.7, 2.5.3, 2.6
> Reporter: Jim Ma
> Assignee: Jim Ma
> Fix For: 2.6.1, 2.5.4, 2.4.8, 2.3.11
>
>
> XPathFactoryFinder looks up the factory for each XPathUtil construction, this
> is duplicate and can be improved for performance.
> at
> javax.xml.xpath.XPathFactoryFinder._newFactory(XPathFactoryFinder.java:222)
> at
> javax.xml.xpath.XPathFactoryFinder.newFactory(XPathFactoryFinder.java:143)
> at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:185)
> at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:99)
> at org.apache.cxf.helpers.XPathUtils.<init>(XPathUtils.java:37)
> at org.apache.cxf.helpers.XPathUtils.<init>(XPathUtils.java:41)
--
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