axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dimu...@apache.org
Subject svn commit: r677596 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
Date Thu, 17 Jul 2008 14:40:32 GMT
Author: dimuthu
Date: Thu Jul 17 07:40:32 2008
New Revision: 677596

URL: http://svn.apache.org/viewvc?rev=677596&view=rev
Log:
correcting a nillable minOccurs=0 error

Modified:
    webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl

Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl?rev=677596&r1=677595&r2=677596&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
(original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
Thu Jul 17 07:40:32 2008
@@ -1648,7 +1648,7 @@
                                      return AXIS2_FAILURE;
                                  }
                               }
-                           <xsl:if test="not(@minOccurs=0) and not($choice)">
+                           <xsl:if test="not(@nillable) and not(@minOccurs=0) and not($choice)">
                               else if(!dont_care_minoccurs)
                               {
                                   if(element_qname)



Mime
View raw message