geronimo-xbean-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r512884 - /geronimo/xbean/trunk/xbean-spring-common/src/main/java/org/apache/xbean/spring/generator/XsdGenerator.java
Date Wed, 28 Feb 2007 18:11:20 GMT
Author: gnodet
Date: Wed Feb 28 10:11:19 2007
New Revision: 512884

URL: http://svn.apache.org/viewvc?view=rev&rev=512884
Log:
XBEAN-73: XsdGenerator generates <xs:any/> incorrectly

Modified:
    geronimo/xbean/trunk/xbean-spring-common/src/main/java/org/apache/xbean/spring/generator/XsdGenerator.java

Modified: geronimo/xbean/trunk/xbean-spring-common/src/main/java/org/apache/xbean/spring/generator/XsdGenerator.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring-common/src/main/java/org/apache/xbean/spring/generator/XsdGenerator.java?view=diff&rev=512884&r1=512883&r2=512884
==============================================================================
--- geronimo/xbean/trunk/xbean-spring-common/src/main/java/org/apache/xbean/spring/generator/XsdGenerator.java
(original)
+++ geronimo/xbean/trunk/xbean-spring-common/src/main/java/org/apache/xbean/spring/generator/XsdGenerator.java
Wed Feb 28 10:11:19 2007
@@ -99,7 +99,7 @@
                     generateElementMappingComplexProperty(out, namespaceMapping, attributeMapping);
                 }
             }
-            out.println("        <xs:any namespace='##other'/>");
+            out.println("        <xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>");
             out.println("      </xs:sequence>");
         }
 



Mime
View raw message