Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1352 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77483 invoked from network); 7 May 2003 13:55:34 -0000 Received: from unknown (HELO vckyb3.nw.wakwak.com) (211.9.231.144) by pb1.pair.com with SMTP; 7 May 2003 13:55:34 -0000 Received: from at.wakwak.com (at.wakwak.com [211.9.230.135:25]) by vckyb3.nw.wakwak.com (Postfix) with ESMTP id 0CFA53FE39; Wed, 7 May 2003 22:55:34 +0900 (JST) Received: from at.wakwak.com (fw.infodeliver.com [61.125.27.206]) by at.wakwak.com (8.12.9/8.12.9/2003-03-31) with SMTP id h47DtXH5097549; Wed, 7 May 2003 22:55:33 +0900 (JST) (envelope-from moriyoshi@at.wakwak.com) Message-ID: <200305071355.h47DtXH5097549@at.wakwak.com> Date: Wed, 07 May 2003 22:54:04 +0900 X-Mailer: EdMax Ver2.85.2F MIME-Version: 1.0 To: Adam Dickmeiss Cc: nicos@php.net, internals@lists.php.net Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In-Reply-To: <20030507105954.GB19823@indexdata.com> References: <20030507094303.GA7028@indexdata.com> <20030507102941.23546.qmail@pb1.pair.com> <20030507105954.GB19823@indexdata.com> Subject: Re: [PHP-DEV] Re: xml_parser_create patch From: moriyoshi@at.wakwak.com (Moriyoshi Koizumi) Adam Dickmeiss wrote: > On Wed, May 07, 2003 at 12:33:20PM +0200, nicos@php.net wrote: > > -1 for the patch if it doesn't have a default value for the encoding. > > > > We don't want to break BC again. > I respect that. I hope Streling does too with a new layer on > top .. > > How about letting the empty string mean : Auto encoding?? > > xml_parser_create(""); // any decoding! (pass 0 to Expat) > > xml_parser_create(); // use default for input&output > > xml_parser_create("x"); // Use decoding x for input&output > Looks like the best option to me. Moriyoshi