axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From din...@apache.org
Subject svn commit: r599817 - in /webservices/axis2/trunk/c: axiom/src/om/om_stax_builder.c src/core/engine/conf.c
Date Fri, 30 Nov 2007 13:28:37 GMT
Author: dinesh
Date: Fri Nov 30 05:28:36 2007
New Revision: 599817

URL: http://svn.apache.org/viewvc?rev=599817&view=rev
Log:
fixed:axis2c-796 thanks Bill and Senaka for the input

Modified:
    webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c
    webservices/axis2/trunk/c/src/core/engine/conf.c

Modified: webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c?rev=599817&r1=599816&r2=599817&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_stax_builder.c Fri Nov 30 05:28:36 2007
@@ -1154,21 +1154,19 @@
 
     case AXIOM_XML_READER_COMMENT:
         val = axiom_stax_builder_create_om_comment(om_builder, env);
-        if (!val)
+        if (val)
         {
-            return -1;
+            axiom_stax_builder_end_element(om_builder, env);
         }
-        axiom_stax_builder_end_element(om_builder, env);
         break;
 
     case AXIOM_XML_READER_PROCESSING_INSTRUCTION:
         val = axiom_stax_builder_create_om_processing_instruction(om_builder,
                                                                   env);
-        if (!val)
+        if (val)
         {
-            return -1;
+            axiom_stax_builder_end_element(om_builder, env);
         }
-        axiom_stax_builder_end_element(om_builder, env);
         break;
 
     case AXIOM_XML_READER_CDATA:

Modified: webservices/axis2/trunk/c/src/core/engine/conf.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/engine/conf.c?rev=599817&r1=599816&r2=599817&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/engine/conf.c (original)
+++ webservices/axis2/trunk/c/src/core/engine/conf.c Fri Nov 30 05:28:36 2007
@@ -1489,8 +1489,6 @@
         module_desc =
             axis2_dep_engine_build_module(dep_engine, env, file, conf);
         is_new_module = AXIS2_TRUE;
-        AXIS2_LOG_ERROR (env->log, AXIS2_LOG_SI, "free dep engine");
-        axis2_dep_engine_free (dep_engine, env);
     }
 	
     if (module_desc)



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message