xml-xmlbeans-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daver...@apache.org
Subject cvs commit: xml-xmlbeans/v2/src/binding/org/apache/xmlbeans/impl/binding/compile Schema2Java.java
Date Mon, 29 Mar 2004 22:02:57 GMT
daveremy    2004/03/29 14:02:57

  Modified:    v2/src/binding/org/apache/xmlbeans/impl/binding/compile
                        Schema2Java.java
  Log:
  Small bug fix to Schema2Java.
  Contributed by Radu Preotiuc.
  
  Revision  Changes    Path
  1.20      +2 -0      xml-xmlbeans/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Schema2Java.java
  
  Index: Schema2Java.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/binding/org/apache/xmlbeans/impl/binding/compile/Schema2Java.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- Schema2Java.java	27 Mar 2004 23:59:41 -0000	1.19
  +++ Schema2Java.java	29 Mar 2004 22:02:57 -0000	1.20
  @@ -1394,6 +1394,8 @@
       public GenericXmlProperty getAnyElementProperty() {
         if (bindingType instanceof  ByNameBean)
           return ((ByNameBean) bindingType).getAnyElementProperty();
  +      else if (bindingType instanceof SimpleContentBean)
  +        return null;
         else
           throw new IllegalStateException();
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org


Mime
View raw message