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 ro...@cs.technion.ac.il on 2007/02/11 11:56:55 UTC

a bug in xerces

Hi,

I belive that the method 

public boolean isEqualNode(Node arg)

in org.apache.xerces.dom.NodeImpl

does not check recursively that the children of a node have the same
tags/structure. Please let me know if you would like me to fix it.

Thanks
Royi (Technion-IIT, Israel)

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


Re: a bug in xerces

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Royi,

This isn't a bug. You're looking at the base class of the DOM 
implementation. isEqualNode() is overridden in several subclasses. The 
children (if the given node can have any) are checked by 
org.apache.xerces.dom.ParentNode.

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

ronenr@cs.technion.ac.il wrote on 02/11/2007 05:56:55 AM:

> Hi,
> 
> I belive that the method 
> 
> public boolean isEqualNode(Node arg)
> 
> in org.apache.xerces.dom.NodeImpl
> 
> does not check recursively that the children of a node have the same
> tags/structure. Please let me know if you would like me to fix it.
> 
> Thanks
> Royi (Technion-IIT, Israel)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
> For additional commands, e-mail: j-dev-help@xerces.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org