DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6888>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6888 NodeIterator ------- Additional Comments From [EMAIL PROTECTED] 2002-03-12 00:21 ------- I haven't fully validated this, but at a quick glance it looks like you just initialized your loop incorrectly. Try this change: Node matchNodeOrParent(Node node) { //for (Node n = node; n != fRoot; n = n.getParentNode()) { for (Node n = fCurrentNode; n != fRoot; n = n.getParentNode()) { if (node == n) return n; } return null; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
