Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 85294 invoked from network); 20 Oct 2005 09:56:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2005 09:56:47 -0000 Received: (qmail 47745 invoked by uid 500); 20 Oct 2005 09:56:45 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 47691 invoked by uid 500); 20 Oct 2005 09:56:44 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 47680 invoked by uid 500); 20 Oct 2005 09:56:44 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 47677 invoked by uid 99); 20 Oct 2005 09:56:44 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 20 Oct 2005 02:56:44 -0700 Received: (qmail 84870 invoked by uid 65534); 20 Oct 2005 09:56:24 -0000 Message-ID: <20051020095624.84868.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: axis2-cvs@ws.apache.org From: samisa@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 {