You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2008/07/17 16:40:32 UTC

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

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)