axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shan...@apache.org
Subject svn commit: r818362 - /webservices/axis2/trunk/c/axiom/src/om/om_element.c
Date Thu, 24 Sep 2009 04:06:34 GMT
Author: shankar
Date: Thu Sep 24 04:06:34 2009
New Revision: 818362

URL: http://svn.apache.org/viewvc?rev=818362&view=rev
Log:
reseting children iterator before returning

Modified:
    webservices/axis2/trunk/c/axiom/src/om/om_element.c

Modified: webservices/axis2/trunk/c/axiom/src/om/om_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_element.c?rev=818362&r1=818361&r2=818362&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_element.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_element.c Thu Sep 24 04:06:34 2009
@@ -983,6 +983,10 @@
         om_element->children_iter = axiom_children_iterator_create(env, axiom_node_get_first_child(
             element_node, env));
     }
+    else
+    {
+        axiom_children_iterator_reset(om_element->children_iter, env);
+    }
     return om_element->children_iter;
 }
 



Mime
View raw message