gdaniels    2002/10/07 13:52:19

  Modified:    java/src/org/apache/axis/encoding Tag: interop4
                        DeserializerImpl.java
  Log:
  Tweak setting of componentsReady.  Passes inout test again.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.30.2.7  +6 -6      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.6
  retrieving revision 1.30.2.7
  diff -u -r1.30.2.6 -r1.30.2.7
  --- DeserializerImpl.java     7 Oct 2002 20:18:57 -0000       1.30.2.6
  +++ DeserializerImpl.java     7 Oct 2002 20:52:19 -0000       1.30.2.7
  @@ -413,13 +413,13 @@
                                prefix, attributes,
                                context);
                         ref = dser.getValue();       
  -                      componentsReadyFlag = true;
  -                    }         
  +                    }
                  }
                   
                   // If the ref is not a MessageElement, then it must be an
                   // element that has already been deserialized.  Use it directly.
                   value = ref;
  +                componentsReadyFlag = true;
                   valueComplete();
               }
               
  @@ -446,13 +446,13 @@
                                DeserializationContext context)
           throws SAXException
       {
  -        QName type = context.getTypeFromAttributes(namespace,
  -                                                   localName,
  -                                                   attributes);
  -
           // If I'm the base class, try replacing myself with an
           // appropriate deserializer gleaned from type info.
           if (this.getClass().equals(DeserializerImpl.class)) {
  +            QName type = context.getTypeFromAttributes(namespace,
  +                                                       localName,
  +                                                       attributes);
  +
               // If no type is specified, use the defaultType if available.
               // xsd:string is used if no type is provided.
               if (type == null) {
  
  
  


Reply via email to