axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r394438 - /webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c
Date Sun, 16 Apr 2006 06:16:57 GMT
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;



Mime
View raw message