You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by gd...@apache.org on 2002/10/07 19:10:59 UTC
cvs commit: xml-axis/java/src/org/apache/axis/encoding DeserializerImpl.java
gdaniels 2002/10/07 10:10:58
Modified: java/src/org/apache/axis/encoding Tag: interop4
DeserializerImpl.java
Log:
Fix attachments test. I'm a little dubious about this solution, but it works.
Revision Changes Path
No revision
No revision
1.30.2.5 +6 -3 xml-axis/java/src/org/apache/axis/encoding/DeserializerImpl.java
Index: DeserializerImpl.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/DeserializerImpl.java,v
retrieving revision 1.30.2.4
retrieving revision 1.30.2.5
diff -u -r1.30.2.4 -r1.30.2.5
--- DeserializerImpl.java 7 Oct 2002 03:42:27 -0000 1.30.2.4
+++ DeserializerImpl.java 7 Oct 2002 17:10:57 -0000 1.30.2.5
@@ -99,7 +99,9 @@
protected Vector targets = null;
protected QName defaultType = null;
-
+
+ boolean componentsReadyFlag = false;
+
/**
* A set of sub-deserializers whose values must complete before our
* value is complete.
@@ -257,7 +259,8 @@
* The default (true) is useful for most Deserializers.
*/
public boolean componentsReady() {
- return (!isHref && isEnded && activeDeserializers.isEmpty());
+ return (componentsReadyFlag ||
+ (!isHref && isEnded && activeDeserializers.isEmpty()));
}
/**
@@ -410,7 +413,7 @@
prefix, attributes,
context);
ref = dser.getValue();
-
+ componentsReadyFlag = true;
}
}