Return-Path: Delivered-To: apmail-axis-c-dev-archive@www.apache.org Received: (qmail 55835 invoked from network); 23 Mar 2010 10:13:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Mar 2010 10:13:53 -0000 Received: (qmail 83022 invoked by uid 500); 23 Mar 2010 10:13:52 -0000 Delivered-To: apmail-axis-c-dev-archive@axis.apache.org Received: (qmail 82751 invoked by uid 500); 23 Mar 2010 10:13:50 -0000 Mailing-List: contact c-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list c-dev@axis.apache.org Received: (qmail 82728 invoked by uid 99); 23 Mar 2010 10:13:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 10:13:49 +0000 X-ASF-Spam-Status: No, hits=-1105.4 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 10:13:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1442F234C1F2 for ; Tue, 23 Mar 2010 10:13:28 +0000 (UTC) Message-ID: <307997071.430261269339208080.JavaMail.jira@brutus.apache.org> Date: Tue, 23 Mar 2010 10:13:28 +0000 (UTC) From: "S.Uthaiyashankar (JIRA)" To: c-dev@axis.apache.org Subject: [jira] Resolved: (AXIS2C-1407) Loading an XML file always sets the env status to AXIS2FAILURE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2C-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] S.Uthaiyashankar resolved AXIS2C-1407. -------------------------------------- Resolution: Fixed Fixed in revision 926515 > Loading an XML file always sets the env status to AXIS2FAILURE > -------------------------------------------------------------- > > Key: AXIS2C-1407 > URL: https://issues.apache.org/jira/browse/AXIS2C-1407 > Project: Axis2-C > Issue Type: Bug > Components: xml/om > Reporter: Francois Mireaux > Assignee: S.Uthaiyashankar > Fix For: 1.7.0 > > > In om_stax_builder.c, the loop condition in axiom_stax_builder_next is not correct, leading to exit of the function by the if om_builder->done which set the env status to AXIS2FAILURE. Instead of 'while(!node)', the condition should be 'while(!node && !axiom_node_is_complete(om_builder->root_node, env))' to exit in error only in the root XML element is not closed. Problem is concealed notably because of the AXIS2_PARAM_CHECK macro which, usualy, resets the status to OK. But some days ago, the macro was temporaly modified to not reset the status (which seems the good way) and I track down the resulting error(s). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org For additional commands, e-mail: c-dev-help@axis.apache.org