You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Wes Munsil (Commented) (JIRA)" <xe...@xml.apache.org> on 2012/01/12 21:50:39 UTC
[jira] [Commented] (XERCESJ-1249) Node comparison with == should be
replaced by isSameNode() test for DOM Level 3 nodes
[ https://issues.apache.org/jira/browse/XERCESJ-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185227#comment-13185227 ]
Wes Munsil commented on XERCESJ-1249:
-------------------------------------
This bug is not fixed, as only one of the two node equality tests in validate(Node) have been changed.
> 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: Bug
> 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
> Assignee: Michael Glavassevich
> Fix For: 2.9.1
>
>
> 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.
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
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org