Re: Re: xml_parser_create patch
| From: | Moriyoshi Koizumi | Date: | Wed, 07 May 2003 13:54:04 +0000 |
| Subject: | Re: Re: xml_parser_create patch | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1352@lists.php.net to get a copy of this message | ||
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