Re: Re: xml_parser_create patch
| From: | Adam Dickmeiss | Date: | Thu, 08 May 2003 12:53:01 +0000 |
| Subject: | Re: Re: xml_parser_create patch | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1378@lists.php.net to get a copy of this message | ||
On Thu, May 08, 2003 at 09:19:08PM +0900, Moriyoshi Koizumi wrote:
> Derick Rethans <derick@php.net> wrote:
>
> > On Wed, 7 May 2003, 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)
> >
> > too much magic.
>
> I don't think so, as such a convension already exists in the
> third parameter of htmlentities(). Are you going to come up with any other
> solution?
I don't think I understand what you're saying. Are you saying that
"" is OK to solve this issue? Or that "" is bad ? Or, (of course)
something else?
-- Adam
> Moriyoshi
>
> > Derick
> >
> > --
> > "my other box is your windows PC"
> > -------------------------------------------------------------------------
> > Derick Rethans
> > http://derickrethans.nl/
> > PHP Magazine - PHP Magazine for Professionals
> > http://php-mag.net/
> > -------------------------------------------------------------------------
> >
> > --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam Dickmeiss mailto:adam@indexdata.dk http://www.indexdata.dk
Index Data T: +45 33410100 Mob.: 212 212 66