Senaka, I fixed WSCOMMONS-502 already with the change in r816761 (which is slightly more generic than the patch proposed in the JIRA). Therefore, your change is redundant and should not be necessary.
Andreas On Sun, Sep 20, 2009 at 17:26, <[email protected]> wrote: > Author: senaka > Date: Sun Sep 20 15:26:42 2009 > New Revision: 817042 > > URL: http://svn.apache.org/viewvc?rev=817042&view=rev > Log: > Fixing WSCOMMONS-502. > > Modified: > > webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMDocumentImpl.java > > Modified: > webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMDocumentImpl.java > URL: > http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMDocumentImpl.java?rev=817042&r1=817041&r2=817042&view=diff > ============================================================================== > --- > webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMDocumentImpl.java > (original) > +++ > webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMDocumentImpl.java > Sun Sep 20 15:26:42 2009 > @@ -317,4 +317,16 @@ > boolean includeXMLDeclaration) throws > XMLStreamException { > OMDocumentImplUtil.internalSerialize(this, writer, cache, > includeXMLDeclaration); > } > + > + /** Serializes the document with the XML declaration. */ > + public void internalSerializeAndConsume(XMLStreamWriter writer) > + throws XMLStreamException { > + internalSerialize(writer, false); > + } > + > + > + /** Serializes the document with cache. */ > + public void internalSerialize(XMLStreamWriter writer) throws > XMLStreamException { > + internalSerialize(writer, true); > + } > } > > >
