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 la...@apache.org on 2008/02/29 03:27:58 UTC

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

Author: lahiru
Date: Thu Feb 28 18:27:53 2008
New Revision: 632211

URL: http://svn.apache.org/viewvc?rev=632211&view=rev
Log:
resolve a jira.

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=632211&r1=632210&r2=632211&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 Feb 28 18:27:53 2008
@@ -1040,14 +1040,6 @@
                         </xsl:otherwise>
                       </xsl:choose>
                     }
-                    <xsl:if test="not(@optional)">
-                    else
-                    {
-                        /* This is not a nillable attribute*/
-                        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "non optional attribute <xsl:value-of select="$propertyName"/> missing");
-                        return AXIS2_FAILURE;
-                    }
-                    </xsl:if>
                 </xsl:when>
                 <xsl:when test="$simple"></xsl:when> <!-- just to avoid preceeding code to be parsed in a simple type -->
                 <xsl:otherwise> <!-- when it is an element not(@attribute) -->



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