axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/encoding DeserializerImpl.java
Date Mon, 07 Oct 2002 17:10:59 GMT
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;
                       }         
                  }
                   
  
  
  

Mime
View raw message