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/07/05 07:43:41 UTC
svn commit: r674153 -
/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
Author: dimuthu
Date: Fri Jul 4 22:43:41 2008
New Revision: 674153
URL: http://svn.apache.org/viewvc?rev=674153&view=rev
Log:
fixing https://issues.apache.org/jira/browse/AXIS2C-1207
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=674153&r1=674152&r2=674153&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 Fri Jul 4 22:43:41 2008
@@ -2824,7 +2824,7 @@
}
else
{
- qname_prefix = (axis2_char_t*)axutil_hash_get(namespaces, qname_uri, AXIS2_HASH_STRING);
+ qname_prefix = (axis2_char_t*)axutil_hash_get(namespaces, qname_uri, AXIS2_HASH_KEY_STRING);
if(qname_prefix != NULL)
{
text_value = (axis2_char_t*) AXIS2_MALLOC (env-> allocator,
@@ -2990,7 +2990,7 @@
}
else
{
- qname_prefix = (axis2_char_t*)axutil_hash_get(namespaces, qname_uri, AXIS2_HASH_STRING);
+ qname_prefix = (axis2_char_t*)axutil_hash_get(namespaces, qname_uri, AXIS2_HASH_KEY_STRING);
if(qname_prefix != NULL)
{
tmp_value = axutil_qname_get_localpart(element, env);
@@ -3225,6 +3225,7 @@
{
<xsl:choose>
<xsl:when test="$nativePropertyType='axiom_attribute_t*' and @isarray"><!-- for anyAttribute -->
+ int i = 0;
for( i = 0; i < axutil_array_list_size(<xsl:value-of select="$parentPropertyInstanceName"/>, env); i ++)
{
axiom_attribute_t *the_attrib = NULL;
@@ -3597,6 +3598,7 @@
{
<xsl:choose>
<xsl:when test="$nativePropertyType='axiom_attribute_t*' and @isarray"><!-- for anyAttribute -->
+ int i = 0;
for( i = 0; i < axutil_array_list_size(<xsl:value-of select="$parentPropertyInstanceName"/>, env); i ++)
{
axiom_attribute_t *the_attrib = NULL;