thanks!!
On 8/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: ajith
Date: Thu Aug 24 22:15:30 2006
New Revision: 436663
URL: http://svn.apache.org/viewvc?rev=436663&view=rev
Log:
1. A minor improvement to make codegen work properly for binary. Dims missed
this little bit :)
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=436663&r1=436662&r2=436663&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 22:15:30 2006
@@ -1499,7 +1499,7 @@
} // End of if for expected property start
element
</xsl:if>
</xsl:if>
- <xsl:if test="$ordered and $min!=0">
+ <xsl:if test="$ordered and $min!=0 and
not(@binary)">
else{
// A start element we are not expecting
indicates an invalid parameter was passed
throw new
java.lang.RuntimeException("Unexpected subelement " + reader.getLocalName());
@@ -2472,7 +2472,7 @@
} // End of if for expected property start
element
- <xsl:if test="$ordered and $min!=0">
+ <xsl:if test="$ordered and $min!=0 and
not(@binary)">
else{
// A start element we are not expecting
indicates an invalid parameter was passed
throw new
java.lang.RuntimeException("Unexpected subelement " + reader.getLocalName());
@@ -2489,7 +2489,7 @@
</xsl:if>
<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="$unordered and property[not(@binary)]">
else{
// A start element we are not
expecting indicates an invalid parameter was passed
throw new
java.lang.RuntimeException("Unexpected subelement " + reader.getLocalName());
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]