-
Bug
-
Resolution: Fixed
-
P2
-
17
-
b25
The spec for XPathEvaluationResult.XPathResultType.NODESET
https://docs.oracle.com/en/java/javase/16/docs/api/java.xml/javax/xml/xpath/XPathEvaluationResult.XPathResultType.html#NODESET
says:
> "The XPath 1.0 NodeSet data type. Maps to org.w3c.dom.NodeList."
However for OpenJDK implementation the following returns null:
XPathResultType.getQNameType(org.w3c.dom.NodeList.class)
While BTW for NODE OpenJDK implementation matches the spec and works as expected:
XPathResultType.getQNameType(Node.class) returns XPathConstants.NODE
https://docs.oracle.com/en/java/javase/16/docs/api/java.xml/javax/xml/xpath/XPathEvaluationResult.XPathResultType.html#NODESET
says:
> "The XPath 1.0 NodeSet data type. Maps to org.w3c.dom.NodeList."
However for OpenJDK implementation the following returns null:
XPathResultType.getQNameType(org.w3c.dom.NodeList.class)
While BTW for NODE OpenJDK implementation matches the spec and works as expected:
XPathResultType.getQNameType(Node.class) returns XPathConstants.NODE
- csr for
-
JDK-8267809 XPathEvaluationResult.XPathResultType.NODESET maps to incorrect type
-
- Closed
-
- relates to
-
JDK-8054196 XPath: support any type
-
- Resolved
-