axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r383495 - /webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c
Date Mon, 06 Mar 2006 08:39:33 GMT
Author: nandika
Date: Mon Mar  6 00:39:30 2006
New Revision: 383495

URL: http://svn.apache.org/viewcvs?rev=383495&view=rev
Log:
log_write function removed

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=383495&r1=383494&r2=383495&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 Mon Mar  6 00:39:30 2006
@@ -271,9 +271,6 @@
     {
         AXIS2_ERROR_SET((*env)->error, 
                          AXIS2_ERROR_INVALID_BUILDER_STATE_LAST_NODE_NULL,AXIS2_FAILURE);
-        AXIS2_LOG_WRITE((*env)->log, 
-            "AXIS2_ERROR_INVALID_BUILDER_STATE_LAST_NODE_NULL creating a text node without
a parent", 
-            AXIS2_LOG_LEVEL_DEBUG);
         return NULL;
     }
     temp_value = AXIS2_XML_READER_GET_VALUE (builder->parser, env);
@@ -281,7 +278,6 @@
     if (!temp_value)
     {
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_XML_READER_VALUE_NULL, AXIS2_FAILURE);
-        AXIS2_LOG_WRITE((*env)->log,"XML_READER RETURNED NULL VALUE CREATING OM TEXT",
 AXIS2_LOG_LEVEL_DEBUG);
         return NULL;
     }
   
@@ -447,10 +443,7 @@
         {
             AXIS2_ERROR_SET((*env)->error,
             AXIS2_ERROR_INVALID_DOCUMENT_STATE_UNDEFINED_NAMESPACE, AXIS2_FAILURE);
-            AXIS2_LOG_WRITE((*env)->log, 
-                "AXIS2_ERROR_INVALID_DOCUMENT_STATE_UNDEFINED_NAMESPACE", AXIS2_LOG_LEVEL_DEBUG);
-            
-             return AXIS2_FAILURE;
+            return AXIS2_FAILURE;
         }
     }
     AXIS2_XML_READER_XML_FREE(builder->parser, env, temp_prefix);
@@ -471,8 +464,7 @@
 
     if (!temp_localname)
     {
-        AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_XML_READER_ELEMENT_NULL localname null",
-            AXIS2_LOG_LEVEL_DEBUG);
+        
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_XML_READER_ELEMENT_NULL, AXIS2_FAILURE);

         return NULL;
     }
@@ -921,9 +913,7 @@
     
     if (builder_impl->done)
     {
-        AXIS2_LOG_WRITE((*env)->log,
-                "AXIS2_ERROR_BUILDER_DONE_CANNOT_PULL either the xml is over or a critical
error occured",
-                AXIS2_LOG_LEVEL_DEBUG);
+        
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_BUILDER_DONE_CANNOT_PULL, AXIS2_FAILURE);
         return -1;
     }



Mime
View raw message