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 12:40:43 UTC

svn commit: r394454 - in /webservices/axis2/trunk/c/modules/xml: om/om_stax_builder.c soap/soap_builder.c

Author: samisa
Date: Sun Apr 16 03:40:38 2006
New Revision: 394454

URL: http://svn.apache.org/viewcvs?rev=394454&view=rev
Log:
Reverted the faulty fix and did a hack to get around the problem for the time being

Modified:
    webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_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=394454&r1=394453&r2=394454&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 Sun Apr 16 03:40:38 2006
@@ -968,7 +968,6 @@
                         builder, env);
             if(!val)
                return -1;
-            break;    
         case AXIS2_XML_READER_END_ELEMENT:
             axis2_om_stax_builder_end_element (builder, env);
             break;

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=394454&r1=394453&r2=394454&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c Sun Apr 16 03:40:38 2006
@@ -820,6 +820,9 @@
                     if(status == AXIS2_FAILURE)
                         return AXIS2_FAILURE;
                 }
+                /*HACK: to fix AXIS2C-129 - Samisa*/
+                axis2_om_stax_builder_set_element_level(
+                        builder_impl->om_builder, env, 1);
         }                
     }
     return AXIS2_SUCCESS;