You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by er...@apache.org on 2004/02/17 19:48:05 UTC
cvs commit: xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2 Cur.java
ericvas 2004/02/17 10:48:05
Modified: v2/src/newstore2/org/apache/xmlbeans/impl/newstore2 Cur.java
Log:
Fix copy bug
Revision Changes Path
1.4 +2 -3 xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cur.java
Index: Cur.java
===================================================================
RCS file: /home/cvs/xml-xmlbeans/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cur.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Cur.java 17 Feb 2004 18:18:05 -0000 1.3
+++ Cur.java 17 Feb 2004 18:48:05 -0000 1.4
@@ -852,9 +852,6 @@
{
Xobj newXo = xo.newNode();
-
-// BUGBUG - am I copying too much -- sometimes I do not want to copy
-// the text after ... test copying an element with txt after ...
newXo._srcValue = xo._srcValue;
newXo._srcAfter = xo._srcAfter;
newXo._offValue = xo._offValue;
@@ -890,6 +887,8 @@
}
while ( xo._nextSibling == null );
}
+ else if (xo == _xobj)
+ break walk;
else
xo = xo._nextSibling;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org