Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 75522 invoked from network); 4 Jan 2008 11:58:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jan 2008 11:58:57 -0000 Received: (qmail 9821 invoked by uid 500); 4 Jan 2008 11:58:46 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 9804 invoked by uid 500); 4 Jan 2008 11:58:45 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 9793 invoked by uid 99); 4 Jan 2008 11:58:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 03:58:45 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 11:58:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1911E714204 for ; Fri, 4 Jan 2008 03:58:34 -0800 (PST) Message-ID: <10202656.1199447914099.JavaMail.jira@brutus> Date: Fri, 4 Jan 2008 03:58:34 -0800 (PST) From: "Senaka Fernando (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Updated: (AXIS2C-870) Function axiom_xml_reader_create_for_memory[Alastair FETTES] In-Reply-To: <16907707.1199418933984.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Senaka Fernando updated AXIS2C-870: ----------------------------------- Attachment: diff.txt Proposed patch solves this issue. The reader should not take control of the data within the container. However, it is free to maintain a reference. Please correct me if I'm wrong. Regards, Senaka > Function axiom_xml_reader_create_for_memory[Alastair FETTES] > ------------------------------------------------------------ > > Key: AXIS2C-870 > URL: https://issues.apache.org/jira/browse/AXIS2C-870 > Project: Axis2-C > Issue Type: Bug > Affects Versions: Current (Nightly) > Environment: Ubuntu 7.04 > Reporter: Lahiru Gunathilake > Fix For: Current (Nightly) > > Attachments: diff.txt > > > AXIS2_EXTERN > axiom_xml_reader_t* axiom_xml_reader_create_for_memory( > const axutil_env_t* env, > void* container, > int size, > const axis2_char_t* encoding, > int type) > The return value of type axiom_xml_reader_t* takes control of the data contained within container. -- 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: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org