cvs diff DeferredDocumentImpl.java (in directory E:\xml\xml-xerces\java\src\org\apache\xerces\dom)
Index: DeferredDocumentImpl.java
===================================================================
RCS file: /home/cvspublic/xml-xerces/java/src/org/apache/xerces/dom/DeferredDocumentImpl.java,v
retrieving revision 1.8
diff -r1.8 DeferredDocumentImpl.java
1282c1282
< for (int j = path.size() - 2; j >= 0; j--) {
---
> for (int j = path.size() - 1; j >= 0; j--) {
1285c1285
< while (child != null) {
---
> while (child != null && child != place) {
1293c1293,1304
< child = child.getNextSibling();
---
> Node newChild = child;
> if( child.hasChildNodes() ) {
> newChild = child.getFirstChild();
> } else if( (newChild = child.getNextSibling()) == null ) {
> while( (newChild = child) != place ) {
> child = newChild.getParentNode();
> newChild = child;
> if( (newChild = child.getNextSibling()) != null )
> break;
> }
> }
> child = newChild;
*****CVS exited normally with code 1*****