You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2008/03/31 21:19:09 UTC
svn commit: r643106 -
/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
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 <se...@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