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 am...@apache.org on 2007/12/21 11:16:21 UTC
svn commit: r606152 -
/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
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