RFR: 8276141: XPathFactory set/getProperty method [v6]
Alan Bateman
alanb at openjdk.java.net
Mon Nov 8 11:41:39 UTC 2021
On Fri, 5 Nov 2021 21:44:17 GMT, Joe Wang <joehw at openjdk.org> wrote:
>> Add setProperty/getProperty methods to the XPath API so that properties can be supported in the future.
>
> Joe Wang has updated the pull request incrementally with one additional commit since the last revision:
>
> Removing IAE from the method signature; Update impl and test.
src/java.xml/share/classes/javax/xml/xpath/XPathFactory.java line 375:
> 373: /**
> 374: * Sets a property for this {@code XPathFactory} and {@code XPath}
> 375: * created by this factory.
Are properties inherited by the XPath object at create time? The javadoc for newXPath suggests so and I'm wondering if the javadoc for setProperty needs to consistent with that. Maybe the intention is really that this method sets a XPathFactory property and it is used when configuring the XPath object returned by the newXPath method.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6215
More information about the core-libs-dev
mailing list