Hi,
after talking to Casey this was approved.

ChangeLog:

2006-06-08  Robert Schuster  <[EMAIL PROTECTED]>

        Fixes PR27864.
        * gnu/xml/dom/DomIterator.java:
        (successor): Changed expression.


cya
Robert
Index: gnu/xml/dom/DomIterator.java
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/xml/dom/DomIterator.java,v
retrieving revision 1.4
diff -u -r1.4 DomIterator.java
--- gnu/xml/dom/DomIterator.java	2 Jul 2005 20:32:15 -0000	1.4
+++ gnu/xml/dom/DomIterator.java	8 Jun 2006 09:35:30 -0000
@@ -1,5 +1,5 @@
 /* DomIterator.java -- 
-   Copyright (C) 1999,2000,2001 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2000, 2001, 2006 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -297,7 +297,9 @@
       {
         next = next.getParentNode();
       }
-    if (next == root)
+    
+    // If we have exceeded the root node then stop traversing.
+    if (next == root.getParentNode())
       {
         return null;
       }

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to