axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r468444 - /webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
Date Fri, 27 Oct 2006 16:26:24 GMT
Author: dims
Date: Fri Oct 27 09:26:22 2006
New Revision: 468444

URL: http://svn.apache.org/viewvc?view=rev&rev=468444
Log:
Fix for AXIS2-1513 - ADB codegen problem when server send null values

Modified:
    webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl

Modified: webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl?view=diff&rev=468444&r1=468443&r2=468444
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
(original)
+++ webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
Fri Oct 27 09:26:22 2006
@@ -2055,6 +2055,9 @@
                                       if ("true".equals(reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","nil"))){
                                           object.set<xsl:value-of select="$javaName"/>(null);
                                           reader.next();
+                                          <xsl:if test="$isType or $anon">  <!--
This is a subelement property to be consumed -->
+                                            reader.next();
+                                          </xsl:if>
                                       }else{
                                     </xsl:if>
                                         object.set<xsl:value-of select="$javaName"/>(<xsl:value-of
select="$propertyType"/>.Factory.parse(reader));



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


Mime
View raw message