axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r326875 - in /webservices/axis2/trunk/c/modules/xml: guththila/src/guththila_xml_pull_parser.c om/src/axis2_om_stax_builder.c
Date Thu, 20 Oct 2005 09:56:23 GMT
Author: samisa
Date: Thu Oct 20 02:56:11 2005
New Revision: 326875

URL: http://svn.apache.org/viewcvs?rev=326875&view=rev
Log:
Fixed the problems with spaces before '/>' in empty tags

Modified:
    webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c
    webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_stax_builder.c

Modified: webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c?rev=326875&r1=326874&r2=326875&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c (original)
+++ webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c Thu Oct
20 02:56:11 2005
@@ -515,8 +515,10 @@
 	}
       else if ('>' == c)
 	return c;
-      else
-	c = guththila_xml_pull_parser_process_attribute (parser, c);
+      else{
+		c = guththila_xml_pull_parser_process_attribute (parser, c);
+		c = guththila_xml_pull_parser_skip_spaces (parser, c);
+	  }
     }
 }
 

Modified: webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_stax_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_stax_builder.c?rev=326875&r1=326874&r2=326875&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_stax_builder.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/src/axis2_om_stax_builder.c Thu Oct 20 02:56:11
2005
@@ -443,8 +443,11 @@
     	if(builder->lastnode->done)
 	    {
 		    parent = builder->lastnode->parent;
-		    parent->done = AXIS2_TRUE;
-		    builder->lastnode = parent;
+			if (parent)
+			{
+				parent->done = AXIS2_TRUE;
+				builder->lastnode = parent;
+			}
 	    }
 	    else
 	    {



Mime
View raw message