Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6829 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45858 invoked by uid 1010); 7 Jan 2004 21:54:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45834 invoked from network); 7 Jan 2004 21:54:25 -0000 Received: from unknown (HELO miranda.org) (209.58.150.153) by pb1.pair.com with SMTP; 7 Jan 2004 21:54:25 -0000 Received: (qmail 1748 invoked by uid 546); 7 Jan 2004 21:54:25 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 7 Jan 2004 21:54:25 -0000 Date: Wed, 7 Jan 2004 16:54:24 -0500 (EST) X-X-Sender: adam@miranda.org To: Blake Schwendiman cc: internals@lists.php.net In-Reply-To: <03a001c3d565$2dcf7650$cc6464c5@RMAGSBS.local> Message-ID: References: <03a001c3d565$2dcf7650$cc6464c5@RMAGSBS.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] SimpleXML and Default Cast To String From: adam@trachtenberg.com (Adam Maccabee Trachtenberg) On Wed, 7 Jan 2004, Blake Schwendiman wrote: > Note that the embedded text is missing. Internally, the cast is > made using the xmlNodeListGetString function. Is there any reason that > it makes more sense to do that rather than use the xmlNodeGetContent > function. The latter function returns the complete text. I am a newbie > to most of this, so there may be many reasons for the choice. I would say this is a bug and we should switch to xmlNodeGetContent instead. -adam -- adam@trachtenberg.com