Re: Re: xml_parser_create patch
| From: | nicos@php.net | Date: | Wed, 07 May 2003 14:37:03 +0000 |
| Subject: | Re: Re: xml_parser_create patch | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1355@lists.php.net to get a copy of this message | ||
Looks the best to me too.
Regards.
M.CHAILLAN Nicolas
nicos@php.net
www.WorldAKT.com Hébergement de sites internets.
----- Original Message -----
From: "Moriyoshi Koizumi" <moriyoshi@at.wakwak.com>
To: "Adam Dickmeiss" <adam@indexdata.dk>
Cc: <nicos@php.net>; <internals@lists.php.net>
Sent: Wednesday, May 07, 2003 3:54 PM
Subject: Re: [PHP-DEV] Re: xml_parser_create patch
> Adam Dickmeiss <adam@indexdata.dk> 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
>