Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 57954 invoked from network); 26 Nov 2007 14:15:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2007 14:15:14 -0000 Received: (qmail 37462 invoked by uid 500); 26 Nov 2007 14:15:02 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 37286 invoked by uid 500); 26 Nov 2007 14:15:01 -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 37275 invoked by uid 99); 26 Nov 2007 14:15:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 06:15:01 -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; Mon, 26 Nov 2007 14:15:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3410271420E for ; Mon, 26 Nov 2007 06:14:43 -0800 (PST) Message-ID: <22169170.1196086483210.JavaMail.jira@brutus> Date: Mon, 26 Nov 2007 06:14:43 -0800 (PST) From: "Edward Liu (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Created: (AXIS2C-786) axiom_element_set_text() and other functions that do not make use of an axiom_element_t* object in its parameters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org axiom_element_set_text() and other functions that do not make use of an axiom_element_t* object in its parameters ----------------------------------------------------------------------------------------------------------------- Key: AXIS2C-786 URL: https://issues.apache.org/jira/browse/AXIS2C-786 Project: Axis2-C Issue Type: Improvement Components: xml/soap Affects Versions: Current (Nightly) Reporter: Edward Liu Priority: Minor Fix For: Current (Nightly) There are some functions, such as axiom_element_set_text(), that take in an axiom_element_t* object as one of its parameters, but does not make use of it (after viewing the Axis2-C source code). It is pretty inconvenient and unnecessary (in my opinion) to create an axiom_element_t* object, pass it into axiom_element_set_text(), and then free it, without using this object anywhere else except as an argument to a function that doesn't even use the object itself. I think that this creation and freeing of an axiom_element_t* object could be avoided. After talking with one of the developers, it is recommended that the axiom_element_t* argument be removed from those functions that have it as a parameter but make no use of it. I believe that passing NULL into these affected functions is a temporary workaround, not a permanent solution, for this issue. Thanks! -- 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