axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r601685 - /webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c
Date Thu, 06 Dec 2007 10:38:50 GMT
Author: pini
Date: Thu Dec  6 02:38:49 2007
New Revision: 601685

URL: http://svn.apache.org/viewvc?rev=601685&view=rev
Log:
Fixing jira issue 803

Modified:
    webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c

Modified: webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c?rev=601685&r1=601684&r2=601685&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c (original)
+++ webservices/axis2/trunk/c/axiom/src/parser/guththila/guththila_xml_writer_wrapper.c Thu
Dec  6 02:38:49 2007
@@ -471,6 +471,9 @@
     axis2_char_t * localname,
     axis2_char_t * value)
 {
+    if(!value)
+        value = "";
+
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, localname, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, value, AXIS2_FAILURE);
@@ -487,6 +490,8 @@
     axis2_char_t * value,
     axis2_char_t * namespace_uri)
 {
+    if(!value)
+        value = "";
     AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, localname, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, value, AXIS2_FAILURE);



---------------------------------------------------------------------
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