RFR: 8081392: getNodeValue should return NULL value for Element nodes
huizhe.wang at oracle.com
Thu May 28 16:50:40 UTC 2015
Thanks for the quick action! The changes are good to me.
On 5/28/2015 8:33 AM, Aleksej Efimov wrote:
> Please, review JDK9 fix  for a bug  in 'getNodeValue' JAXP
> According to w3c  getNodeValue should return 'null' value for
> Element nodes. This behavior was changed by JDK-8032908  fix - in
> current implementation the node content is returned.
> To address this issue the JDK-8032908 fix was reverted and
> 'getTextContent' function was modified properly to address issue
> reported by JDK-8032908.
> JDK-8032908 test was modified to test that 'getNodeValue' returns
> 'null' for Element nodes.
> DocumentExtFunc test was modified to use 'getTextContent' instead of
> 'getNodeValue' for node content retrival. No related test failures on
> local and JPRT builds were observed.
> With Best Regards,
>  http://cr.openjdk.java.net/~aefimov/8081392/9/00
>  https://bugs.openjdk.java.net/browse/JDK-8081392
>  https://bugs.openjdk.java.net/browse/JDK-8032908
More information about the core-libs-dev