axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r606152 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
Date Fri, 21 Dec 2007 10:16:21 GMT
Author: amilas
Date: Fri Dec 21 02:16:20 2007
New Revision: 606152

URL: http://svn.apache.org/viewvc?rev=606152&view=rev
Log:
try part is added only if not($shortTypeName='OMElement') is true

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=606152&r1=606151&r2=606152&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
Fri Dec 21 02:16:20 2007
@@ -3511,7 +3511,7 @@
                                     throw new org.apache.axis2.databinding.ADBException("Unexpected
subelement " + reader.getLocalName());
                                 }
                             </xsl:if>
-                            <xsl:if test="$particleClassType and ($choice or ($min=0))">
+                            <xsl:if test="$particleClassType and ($choice or ($min=0))
and not($shortTypeName='OMElement')">
                                 <!-- since we can not validate the parser before going
to next class
                                  we have to sollow an excpetions : todo find a better solsution-->
                                  } catch (java.lang.Exception e) {}



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