You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2008/05/29 09:18:41 UTC

svn commit: r661238 - /webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c

Author: nandika
Date: Thu May 29 00:18:40 2008
New Revision: 661238

URL: http://svn.apache.org/viewvc?rev=661238&view=rev
Log:
doc comment added to free function

Modified:
    webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c

Modified: webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c?rev=661238&r1=661237&r2=661238&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c (original)
+++ webservices/axis2/trunk/c/axiom/src/parser/libxml2/libxml2_reader_wrapper.c Thu May 29 00:18:40 2008
@@ -460,7 +460,7 @@
     if (ret_val == -1)
     {
         AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
-                        " error occured in reading xml stream ");
+                        " error occurred in reading xml stream ");
         return -1;
     }
 
@@ -489,6 +489,15 @@
     }
 }
 
+
+/**
+* If your application crashes here, it may be due to an earlier call to
+* xmlCleanupParser() function. In client API, op_client create function has a call
+* to axiom_xml_reader_init and op_client_free function has a call to axiom_xml_reader_cleanup
+* function. You can avoid the call to axiom_xml_reader_cleanup using 
+* axis2_options_set_xml_parser_reset function in client API.
+* refer to jira issue:  https://issues.apache.org/jira/browse/AXIS2C-884
+*/
 void AXIS2_CALL
 axis2_libxml2_reader_wrapper_free(
     axiom_xml_reader_t * parser,