Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 65985 invoked from network); 12 Feb 2009 15:42:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2009 15:42:17 -0000 Received: (qmail 814 invoked by uid 500); 12 Feb 2009 15:42:16 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 798 invoked by uid 500); 12 Feb 2009 15:42:15 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 789 invoked by uid 99); 12 Feb 2009 15:42:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 07:42:15 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hermann.eugen@googlemail.com designates 74.125.44.157 as permitted sender) Received: from [74.125.44.157] (HELO yx-out-1718.google.com) (74.125.44.157) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 15:42:05 +0000 Received: by yx-out-1718.google.com with SMTP id 3so422594yxi.88 for ; Thu, 12 Feb 2009 07:41:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=KmDKGFeOhwiKQNJrvHCnFa2F/aGkOE+a//8E6ZcEaLM=; b=wVLiN13rowvNH4L6gMEGkuH59a7fHn3Jh8PBaMoEBBpnKjHfL2JmXWtPMdCdkdb10g 2xyoyhSZNVnlu653IFCVpaNSXFJtkouY2ra+6mAEIj6s7TF0+1mp5sMwZfyXZ79Xc44W zCJ9/5SaPqDVHVXftF8zb9K+ueppZhny/5B8U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=s57cQ5nouRaPyExFCs3kJxDS9K9R0YnoNnN3NOU2jbospwm5oxdrMBwikPUuGxZ9Cz 5UoalAUiXioa1ZygU2T6lcocHXQE9afSMTCGBXFn35OWtf8p7H/3zuuFSWKmasQ66mIG dx6wwsNJ7FFML7IeavpLHiqvFTSqEfotha2gA= MIME-Version: 1.0 Received: by 10.150.91.20 with SMTP id o20mr1100296ybb.77.1234453304939; Thu, 12 Feb 2009 07:41:44 -0800 (PST) Date: Thu, 12 Feb 2009 16:41:44 +0100 Message-ID: Subject: (Axis2C)Delete of node_sub_trees doesnt work in case of extra namespace declaration! From: Eugen Hermann To: axis-c-user@ws.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello everybody! I have the following problem. ns1 = axiom_namespace_create(...); ns2 = axiom_namespace_create(...); ns3 = axiom_namespace_create(...); axiom_node_t* elem_node = NULL; axiom_element_t* elem_ele = axiom_element_create(env, NULL, "asdf", NULL, &elem_node); // ------------ marked lines--------- start axiom_element_set_namespace(elem_ele, env, ns1,elem_Node); axiom_element_declare_namespace(elem_ele, env, elem_node, ns2); axiom_element_declare_namespace(elem_ele, env, elem_node, ns3); //------------- marked lines -------- end axiom_node_free_tree(elem_node, env); // the bottom lines // lead to an error if the marked lines are activated // if I remove this lines then the whole allocated memory // will not be freed axiom_namespace_free(ns1,env); axiom_namespace_free(ns2,env); axiom_namespace_free(ns3,env); Has anybody an idea how to help me? Thank you for attention Best regards Eugen