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 pi...@apache.org on 2007/11/16 05:14:29 UTC

svn commit: r595542 - /webservices/axis2/trunk/c/guththila/src/guththila_xml_writer.c

Author: pini
Date: Thu Nov 15 20:14:29 2007
New Revision: 595542

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

Modified:
    webservices/axis2/trunk/c/guththila/src/guththila_xml_writer.c

Modified: webservices/axis2/trunk/c/guththila/src/guththila_xml_writer.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/guththila/src/guththila_xml_writer.c?rev=595542&r1=595541&r2=595542&view=diff
==============================================================================
--- webservices/axis2/trunk/c/guththila/src/guththila_xml_writer.c (original)
+++ webservices/axis2/trunk/c/guththila/src/guththila_xml_writer.c Thu Nov 15 20:14:29 2007
@@ -42,7 +42,7 @@
 #ifndef GUTHTHILA_XML_WRITER_TOKEN
 #ifndef GUTHTHILA_WRITER_CLEAR_NAMESP 
 #define GUTHTHILA_WRITER_CLEAR_NAMESP(wr, stack_namesp, _no, counter, _namesp, j, _env)		\
-    for (counter = GUTHTHILA_STACK_TOP_INDEX(*stack_namesp); counter >= _no; counter--) {\
+    for (counter = GUTHTHILA_STACK_TOP_INDEX(*stack_namesp); counter >= _no + 1; counter--) {\
     _namesp = (guththila_xml_writer_namesp_t *) guththila_stack_pop(stack_namesp, _env); \
     if (_namesp) { \
         for (j = 0; j < _namesp->no - 1; j++) { \
@@ -1284,7 +1284,7 @@
     {
         return GUTHTHILA_FAILURE;
     }
-    return GUTHTHILA_FAILURE;
+    return GUTHTHILA_SUCCESS;
 }
 GUTHTHILA_EXPORT int GUTHTHILA_CALL 
 guththila_write_start_element_with_namespace(



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