Author: dims
Date: Wed Aug 23 22:57:14 2006
New Revision: 434306

URL: http://svn.apache.org/viewvc?rev=434306&view=rev
Log:
nested OMSourcedElementImpl (one inside another) has problems especially with 
mtom where for each flush the datahandler is written out to the stream, so we 
have the same thing written to the stream multiple times

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

Modified: 
webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java?rev=434306&r1=434305&r2=434306&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
 (original)
+++ 
webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
 Wed Aug 23 22:57:14 2006
@@ -520,7 +520,6 @@
             log.debug("serialize " + getPrintableName() + " to 
XMLStreamWriter");
         }
         dataSource.serialize(writer);
-        writer.flush();
     }
 
     /* (non-Javadoc)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to