You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2008/11/04 05:11:36 UTC

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

Author: dimuthu
Date: Mon Nov  3 20:11:35 2008
New Revision: 711170

URL: http://svn.apache.org/viewvc?rev=711170&view=rev
Log:
fixing a compile 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=711170&r1=711169&r2=711170&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 Mon Nov  3 20:11:35 2008
@@ -283,7 +283,7 @@
       
         <xsl:choose>
             <xsl:when test="count(property)">
-                <xsl:variable name="firstProperty" select="property"/>
+                <xsl:variable name="firstProperty" select="property[1]"/>
                 <xsl:variable name="propertyType">
                 <xsl:choose>
                     <xsl:when test="$firstProperty/@isarray">axutil_array_list_t*</xsl:when>