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 "Carla Spruit (JIRA)" <xe...@xml.apache.org> on 2007/05/10 13:59:15 UTC
[jira] Created: (XERCESJ-1249) Node comparison with == should be
replaced by isSameNode() test for DOM Level 3 nodes
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Assigned: (XERCESJ-1249) Node comparison with == should be
replaced by isSameNode() test for DOM Level 3 nodes
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESJ-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich reassigned XERCESJ-1249:
---------------------------------------------
Assignee: Michael Glavassevich
> 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
> Assigned To: Michael Glavassevich
>
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Updated: (XERCESJ-1249) Node comparison with == should be
replaced by isSameNode() test for DOM Level 3 nodes
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESJ-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich updated XERCESJ-1249:
------------------------------------------
Fix Version/s: 2.9.1
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Resolved: (XERCESJ-1249) Node comparison with == should be
replaced by isSameNode() test for DOM Level 3 nodes
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESJ-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich resolved XERCESJ-1249.
-------------------------------------------
Resolution: Fixed
Carla, I've just committed a fix to SVN. You should be able to verify it with one of the regular Gump builds [1]. Look for a jar dated after May 20th. It might take a day or two to show up there.
[1] http://vmgump.apache.org/gump/public-jars/xml-xerces2/jars/
> 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
> Assigned To: Michael Glavassevich
>
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Updated: (XERCESJ-1249) Node comparison with == should be
replaced by isSameNode() test for DOM Level 3 nodes
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESJ-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich updated XERCESJ-1249:
------------------------------------------
Issue Type: Bug (was: Improvement)
This is really a bug (rather than an improvement). The validator should be able to work with any DOM Level 3 implementation, not just our own and others which may just happen to work with '=='.
> 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
>
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org