axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dimu...@apache.org
Subject svn commit: r643106 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
Date Mon, 31 Mar 2008 19:19:09 GMT
Author: dimuthu
Date: Mon Mar 31 12:19:07 2008
New Revision: 643106

URL: http://svn.apache.org/viewvc?rev=643106&view=rev
Log:
Fixed possibility of infinite loop, thanks to Sérgio Gomes <sergiomdgomes@gmail.com>

Modified:
    webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl

Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl?rev=643106&r1=643105&r2=643106&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
(original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
Mon Mar 31 12:19:07 2008
@@ -1623,6 +1623,8 @@
                                {
                                   if(axiom_node_get_node_type(current_node, env) != AXIOM_ELEMENT)
                                   {
+                                     current_node =axiom_node_get_next_sibling(current_node,
env);
+                                     is_early_node_valid = AXIS2_FALSE;
                                      continue;
                                   }
                                   <xsl:if test="not(@any)">
@@ -2110,6 +2112,9 @@
                                {
                                   if(axiom_node_get_node_type(current_node, env) != AXIOM_ELEMENT)
                                   {
+                                     <xsl:if test="@any">
+                                     current_node = axiom_node_get_next_sibling(current_node,
env);
+                                     </xsl:if>
                                      continue;
                                   }
                                   <xsl:if test="not(@any)">



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