axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/wsdl/symbolTable SchemaUtils.java
Date Tue, 11 Jan 2005 23:27:55 GMT
gawor       2005/01/11 15:27:55

  Modified:    java/src/org/apache/axis/wsdl/symbolTable SchemaUtils.java
  Log:
  applied 1753, enables proper serialization of choice elements
  
  Revision  Changes    Path
  1.50      +4 -0      ws-axis/java/src/org/apache/axis/wsdl/symbolTable/SchemaUtils.java
  
  Index: SchemaUtils.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/symbolTable/SchemaUtils.java,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- SchemaUtils.java	9 Dec 2004 22:29:59 -0000	1.49
  +++ SchemaUtils.java	11 Jan 2005 23:27:55 -0000	1.50
  @@ -393,6 +393,10 @@
                                                                  symbolTable);
                       
                       if (elem != null) {
  +                        // XXX: forces minOccurs="0" so that a null choice
  +                        // element can be serialized ok.
  +                        elem.setMinOccursIs0(true);
  +
                           v.add(elem);
                       }
                   }
  
  
  

Mime
View raw message