ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r590610 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
Date Wed, 31 Oct 2007 10:03:01 GMT
Author: amilas
Date: Wed Oct 31 03:02:56 2007
New Revision: 590610

URL: http://svn.apache.org/viewvc?rev=590610&view=rev
Log:
fixed an binary handling problem

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

Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl?rev=590610&r1=590609&r2=590610&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
(original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
Wed Oct 31 03:02:56 2007
@@ -1366,8 +1366,8 @@
 
                                             <xsl:if test="not(@primitive)">
                                                 <xsl:choose>
-                                                    <xsl:when test="$propertyType='java.lang.String[]'">
-                                                        xmlWriter.writeCharacters(<xsl:value-of
select="$varName"/>[i]);
+                                                    <xsl:when test="@binary">
+                                                        xmlWriter.writeDataHandler(<xsl:value-of
select="$varName"/>[i]);
                                                     </xsl:when>
                                                     <xsl:otherwise>
                                                         xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(<xsl:value-of
select="$varName"/>[i]));



---------------------------------------------------------------------
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