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 na...@apache.org on 2006/01/17 10:03:34 UTC
svn commit: r369726 -
/webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c
Author: nandika
Date: Tue Jan 17 01:03:27 2006
New Revision: 369726
URL: http://svn.apache.org/viewcvs?rev=369726&view=rev
Log: (empty)
Modified:
webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c
Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c?rev=369726&r1=369725&r2=369726&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c Tue Jan 17 01:03:27 2006
@@ -294,6 +294,7 @@
{
axis2_soap_builder_impl_t *builder_impl = NULL;
axis2_om_node_t *lastnode = NULL;
+ int current_event = -1;
axis2_om_node_t *current_node = NULL;
int status = AXIS2_SUCCESS;
AXIS2_FUNC_PARAM_CHECK(builder, env, NULL);
@@ -311,8 +312,9 @@
}
current_node = AXIS2_OM_STAX_BUILDER_NEXT(builder_impl->om_builder, env);
- if(AXIS2_OM_STAX_BUILDER_GET_CURRENT_EVENT(builder_impl->om_builder, env) ==
- AXIS2_XML_READER_EMPTY_ELEMENT || AXIS2_XML_READER_START_ELEMENT)
+ current_event = AXIS2_OM_STAX_BUILDER_GET_CURRENT_EVENT(builder_impl->om_builder, env);
+ if(current_event == AXIS2_XML_READER_EMPTY_ELEMENT ||
+ current_event == AXIS2_XML_READER_START_ELEMENT)
{
axis2_soap_builder_create_om_element(builder, env, current_node);
axis2_soap_builder_end_element(builder, env);
@@ -657,5 +659,3 @@
builder_impl = AXIS2_INTF_TO_IMPL(builder);
return builder_impl->soap_version ;
}
-
-