axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <dava...@gmail.com>
Subject Re: svn commit: r436663 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
Date Fri, 25 Aug 2006 10:44:22 GMT
thanks!!

On 8/25/06, ajith@apache.org <ajith@apache.org> 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: axis-cvs-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-cvs-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message