Node comparison with == should be replaced by isSameNode() test for DOM Level 3
nodes
-------------------------------------------------------------------------------------
Key: XERCESJ-1249
URL: https://issues.apache.org/jira/browse/XERCESJ-1249
Project: Xerces2-J
Issue Type: Improvement
Components: JAXP (javax.xml.validation)
Affects Versions: 2.7.0, 2.7.1, 2.8.0, 2.8.1, 2.9.0
Reporter: Carla Spruit
Class org.apache.xerces.jaxp.validation.DOMValidatorHelper has function private
void validate(Node node) that traverses the descendants of a DOM node.
In this traversal, nodes are compared with '=='. This may give problems with
DOM implementations other than the Xerces implementation.
Similar issue: case XERCESJ-1127
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|