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/26 04:21:01 UTC

svn commit: r397057 - /webservices/axis2/trunk/c/modules/xml/parser/libxml2/libxml2_writer_wrapper.c

Author: samisa
Date: Tue Apr 25 19:20:58 2006
New Revision: 397057

URL: http://svn.apache.org/viewcvs?rev=397057&view=rev
Log:
Added detail to error messages

Modified:
    webservices/axis2/trunk/c/modules/xml/parser/libxml2/libxml2_writer_wrapper.c

Modified: webservices/axis2/trunk/c/modules/xml/parser/libxml2/libxml2_writer_wrapper.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/parser/libxml2/libxml2_writer_wrapper.c?rev=397057&r1=397056&r2=397057&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/parser/libxml2/libxml2_writer_wrapper.c (original)
+++ webservices/axis2/trunk/c/modules/xml/parser/libxml2/libxml2_writer_wrapper.c Tue Apr 25 19:20:58 2006
@@ -1429,7 +1429,7 @@
 {
     AXIS2_ENV_CHECK( env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, name, AXIS2_FAILURE);
-    printf("not implemented ");
+    printf("axis2_libxml2_writer_wrapper_write_entity_ref not implemented\n");
     return AXIS2_FAILURE;
 }    
 
@@ -1599,7 +1599,7 @@
     AXIS2_ENV_CHECK( env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK((*env)->error, text, AXIS2_FAILURE);
     writer_impl = AXIS2_INTF_TO_IMPL(writer);
-    printf(" not implemented ");
+    printf("axis2_libxml2_writer_wrapper_write_encoded not implemented\n");
     return AXIS2_FAILURE;    
 }
 
@@ -1625,12 +1625,11 @@
                         strlen((const axis2_char_t*)(writer_impl->buffer->content))+1));
             sprintf(output, 
                     ((const axis2_char_t*)(writer_impl->buffer->content)));
-    	   
         }
     }
     else if(writer_impl->writer_type == AXIS2_LIBXML2_WRITER_FILE)
     {
-        printf(" This is not supported for this type of writer");
+        printf("axis2_libxml2_writer_wrapper_get_xml does not support file writer\n");
     }
 
     return output;