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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]