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 sa...@apache.org on 2006/04/16 08:16:57 UTC
svn commit: r394438 -
/webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c
Author: samisa
Date: Sat Apr 15 23:16:54 2006
New Revision: 394438
URL: http://svn.apache.org/viewcvs?rev=394438&view=rev
Log:
Fixed the problem of calling end element twice in case of an empty element
Fix for AXIS2C-129
Modified:
webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c
Modified: webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c?rev=394438&r1=394437&r2=394438&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c Sat Apr 15 23:16:54 2006
@@ -964,11 +964,11 @@
break;
case AXIS2_XML_READER_EMPTY_ELEMENT:
- val = axis2_om_stax_builder_create_om_element (
+ val = axis2_om_stax_builder_create_om_element (
builder, env);
- if(!val)
- return -1;
-
+ if(!val)
+ return -1;
+ break;
case AXIS2_XML_READER_END_ELEMENT:
axis2_om_stax_builder_end_element (builder, env);
break;