Re: XML_RPC_Client can be more tollerant?

From: Date: Tue, 16 Dec 2003 20:40:14 +0000
Subject: Re: XML_RPC_Client can be more tollerant?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24471@lists.php.net to get a copy of this message
luca.mariano@email.it wrote:
We can patch this easily, without BC problems, by prepending the xml_parse with something like this:
        $data = substr($data,0,strpos($data,"</methodResponse>")+17);
The substr can never fail, because the closing tag for methodResponse is mandatory. Such way the XML_RPC_Client will become much more tolerant...
This looks acceptable to me and has been added to CVS. Thanks for the report. -- Marshall Roch

« previous php.pear.dev (#24471) next »