Re: Re: xml_parser_create patch

From: Date: Sun, 11 May 2003 08:47:44 +0000
Subject: Re: Re: xml_parser_create patch
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-1431@lists.php.net to get a copy of this message
I'm going to apply a modified version of your patch soon. Moriyoshi Adam Dickmeiss <adam@indexdata.dk> wrote: > Hi, > > here is another patch that recognizes "" as "proper > XML decoding". I also discovered incorrect string comparison > of other encodings in the xml_parser_create handler .. > Basically, a call such as > xml_parser_create("UT"); would be treated as > xml_parser_create("UTF-8"); > .. which can't be right. It should trigger an error. > > The patch only includes xml_parser_create not _ns variant. > You people with karma can figure that out. > > I have a character encoding handler for Expat that allows > expat to use conversion for all encodings it doesn't know. > I used it in another piece of software but it could be > easily modified for ext/xml. Now, since Expat is fading > away that might not be of interest. > > -- Adam >

« previous php.internals (#1431) next »