You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-cvs@xml.apache.org by er...@apache.org on 2003/11/14 20:57:35 UTC

cvs commit: xml-xmlbeans/v1/src/xmlstore/org/apache/xmlbeans/impl/store Saver.java

ericvas     2003/11/14 11:57:35

  Modified:    v1/src/xmlstore/org/apache/xmlbeans/impl/store Saver.java
  Log:
  Fixed saving to Dom where a leaf document element would not save out its text.  CR: cezar
  
  Revision  Changes    Path
  1.4       +1 -1      xml-xmlbeans/v1/src/xmlstore/org/apache/xmlbeans/impl/store/Saver.java
  
  Index: Saver.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v1/src/xmlstore/org/apache/xmlbeans/impl/store/Saver.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Saver.java	30 Sep 2003 21:31:17 -0000	1.3
  +++ Saver.java	14 Nov 2003 19:57:35 -0000	1.4
  @@ -4602,7 +4602,7 @@
                                   c.getCpForPos( r, 1 ), c.getCchValue() );
                       }
   
  -                    if (text != null && _currentNode != _doc)
  +                    if (text != null)
                           e.insertBefore( _doc.createTextNode( text ), null );
                   }
                   else
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org