axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r434331 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
Date Thu, 24 Aug 2006 07:44:00 GMT
Author: dims
Date: Thu Aug 24 00:43:56 2006
New Revision: 434331

URL: http://svn.apache.org/viewvc?rev=434331&view=rev
Log:
One more fix for (AXIS2-1065) ADB / MTOM databinding is broken - trying to get deser working
on server side"

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=434331&r1=434330&r2=434331&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
Thu Aug 24 00:43:56 2006
@@ -1278,8 +1278,10 @@
                                 </xsl:otherwise>
                             </xsl:choose>
                             <xsl:if test="not(enumFacet)">
+                            <xsl:if test="not(@binary)">
                             if (reader.isStartElement() &amp;&amp; <xsl:value-of
select="$propQName"/>.equals(reader.getName())){
                             </xsl:if>
+                            </xsl:if>
                             <xsl:choose>
                                 <xsl:when test="@array">
                                     <!-- We must be a named type or element with anonymous
type. -->
@@ -1484,8 +1486,10 @@
                                 </xsl:otherwise>
                             </xsl:choose>
                             <xsl:if test="not(enumFacet)">
+                            <xsl:if test="not(@binary)">
                               }  // End of if for expected property start element
                             </xsl:if>
+                            </xsl:if>
                             <xsl:if test="$ordered and $min!=0">
                                 else{
                                     // A start element we are not expecting indicates an
invalid parameter was passed
@@ -1505,10 +1509,12 @@
                         <xsl:if test="property[not(@attribute)]">  <!-- this if
is needed to skip all this when there are no propoerties-->
                         <xsl:if test="$unordered">
                           <xsl:if test="not(property/enumFacet)">
+                          <xsl:if test="not(property[@binary])">
                              else{
                                         // A start element we are not expecting indicates
an invalid parameter was passed
                                         throw new java.lang.RuntimeException("Unexpected
subelement " + reader.getLocalName());
                              }
+                          </xsl:if>
                           </xsl:if>
                              } else reader.next();  <!-- At neither a start nor an end
element, skip it -->
                             }  // end of while loop



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