Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 82785 invoked from network); 13 Aug 2004 15:27:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Aug 2004 15:27:17 -0000 Received: (qmail 7797 invoked by uid 500); 13 Aug 2004 15:27:13 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 7756 invoked by uid 500); 13 Aug 2004 15:27:13 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 7746 invoked by uid 99); 13 Aug 2004 15:27:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [156.153.255.245] (HELO palrel10.hp.com) (156.153.255.245) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 13 Aug 2004 08:27:10 -0700 Received: from hplns3.hpl.hp.com (hplns3.hpl.hp.com [15.0.48.4]) by palrel10.hp.com (Postfix) with ESMTP id BDDD41E3C for ; Fri, 13 Aug 2004 08:27:09 -0700 (PDT) Received: from [15.144.25.135] (chamonix.hpl.hp.com [15.144.25.135]) by hplns3.hpl.hp.com (8.11.1 - (Revision 1.4+JAGae91741+JAGae92668)/8.12.9/HPL-PA Hub) with ESMTP id i7DFR8W24106 for ; Fri, 13 Aug 2004 08:27:09 -0700 (PDT) Message-ID: <411CDDCC.8080606@apache.org> Date: Fri, 13 Aug 2004 16:27:08 +0100 From: Steve Loughran User-Agent: Mozilla Thunderbird 0.7 (X11/20040615) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Axis-Dev Subject: working with MessageElement Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N is it me, or is how messageElement works inordinately inefficient. It looks like to do something as simple as get the text value beneath an element, I have to call getValue() which calls getDocument(), which calls getAsString() to serialize the doc, and then it deserialise it. this is just excessively convoluted, IMO. there has to be a better way to work with arbitrary incoming XML. For the 2.0 timeframe -steve