Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18218 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40072 invoked by uid 1010); 19 Aug 2005 02:56:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40057 invoked from network); 19 Aug 2005 02:56:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Aug 2005 02:56:17 -0000 X-Host-Fingerprint: 66.80.117.3 longsword.omniti.com Linux 2.5 (sometimes 2.4) (4) Received: from ([66.80.117.3:54374] helo=mail.omniti.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 09/C1-33075-05A45034 for ; Thu, 18 Aug 2005 22:56:16 -0400 Authentication-Results: mail.omniti.com smtp.user=george; auth=pass (LOGIN) DomainKey-Status: good X-DomainKeys: Ecelerity dk_sign implementing draft-delany-domainkeys-base-01 DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws; s=test; d=omniti.com; h=Received:In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Cc:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=ZoG/s+r4WiFQl5wwdExIuhgmYegCfQRN6PKWNMw0DRSfoSlsoC8hWQ6d+prfNGhJ Pc9vpFlIX58cQ00qeIWBkFi5TTK0RdFhnoGiVjBLMSCMaWnU0lqHRzQwjqyW6TAA Received: from ([66.80.117.254:38655] helo=[10.0.1.7]) by mail.omniti.com (ecelerity HEAD r(6464/6465M)) with SMTP id 2B/01-21530-84A45034 for ; Thu, 18 Aug 2005 22:56:12 -0400 In-Reply-To: <43054765.3000208@lerdorf.com> References: <43054765.3000208@lerdorf.com> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <1200179E-AC0C-4F96-8598-24F6E06D018F@omniti.com> Cc: George Schlossnagle , internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Thu, 18 Aug 2005 22:56:05 -0400 To: Rasmus Lerdorf X-Mailer: Apple Mail (2.733) Subject: Re: [PHP-DEV] Simplexml and xml namespaces From: george@omniti.com (George Schlossnagle) On Aug 18, 2005, at 10:43 PM, Rasmus Lerdorf wrote: > > Or, alternatively, have a separate arrays: > > ["title"]=> > array(2) { > [0] => string(6) "Title1" > [1] => string(6) "Title2" > } > ["media:title"]=>string(11) "Media Title" > > The latter is actually what I was (naiively) expecting. I think this latter one is bad. The local prefix is local, and I think it's broken to have it show up in a parsing of the document. I agree the current namespace handling is really frustrating, but I don't think this is a good solution. George