axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thil...@apache.org
Subject svn commit: r209238 - in /webservices/axis/trunk/java/modules/xml/src/org/apache/axis2: om/impl/llom/OMTextImpl.java om/impl/llom/mtom/MTOMStAXSOAPModelBuilder.java soap/impl/llom/builder/StAXSOAPModelBuilder.java
Date Tue, 05 Jul 2005 07:50:53 GMT
Author: thilina
Date: Tue Jul  5 00:50:51 2005
New Revision: 209238

URL: http://svn.apache.org/viewcvs?rev=209238&view=rev
Log:
Fixing bug - to handle multiple XOP:includes

Modified:
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMTextImpl.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/mtom/MTOMStAXSOAPModelBuilder.java
    webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMTextImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMTextImpl.java?rev=209238&r1=209237&r2=209238&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMTextImpl.java
(original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/OMTextImpl.java
Tue Jul  5 00:50:51 2005
@@ -171,7 +171,7 @@
 		this.optimize = true;
 		this.isBinary = true;
 		this.builder = builder;
-        done = true;
+        //done = true;
         
 	}
 
@@ -305,7 +305,7 @@
 	}
 
 	public boolean isComplete() {
-		return true;
+		return done;
 	}
 
 	public void serialize(OMOutput omOutput) throws XMLStreamException {

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/mtom/MTOMStAXSOAPModelBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/mtom/MTOMStAXSOAPModelBuilder.java?rev=209238&r1=209237&r2=209238&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/mtom/MTOMStAXSOAPModelBuilder.java
(original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/om/impl/llom/mtom/MTOMStAXSOAPModelBuilder.java
Tue Jul  5 00:50:51 2005
@@ -104,7 +104,7 @@
 				OMElement e = (OMElement) lastNode;
 				node = new OMTextImpl(contentID, (OMElement) lastNode, this);
 				e.setFirstChild(node);
-				node.setComplete(true);
+				//node.setComplete(true);
 			//}
 			return node;
 			

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java?rev=209238&r1=209237&r2=209238&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java
(original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java
Tue Jul  5 00:50:51 2005
@@ -324,7 +324,7 @@
                         parent.setComplete(true);
                         lastNode = parent;
                     } else {
-                        OMElement e = (OMElement) lastNode;
+                        OMNode e = (OMNode) lastNode;
                         e.setComplete(true);
                     }
                     elementLevel--;



Mime
View raw message