You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by di...@apache.org on 2006/07/24 21:30:30 UTC

svn commit: r425154 - /webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java

Author: dims
Date: Mon Jul 24 12:30:30 2006
New Revision: 425154

URL: http://svn.apache.org/viewvc?rev=425154&view=rev
Log:
ensure that the writer is flushed out to the stream

Modified:
    webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java

Modified: webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java?rev=425154&r1=425153&r2=425154&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java (original)
+++ webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java Mon Jul 24 12:30:30 2006
@@ -19,6 +19,7 @@
 import java.io.OutputStream;
 import java.io.StringWriter;
 import java.io.Writer;
+import java.io.IOException;
 import java.util.Iterator;
 
 import javax.xml.namespace.QName;
@@ -521,6 +522,7 @@
             log.debug("serialize " + getPrintableName() + " to XMLStreamWriter");
         }
         dataSource.serialize(writer);
+        writer.flush();
     }
 
     /* (non-Javadoc)



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org