Re: Strange SOAP or XML parsing bug

From: Date: Sat, 13 Apr 2002 17:01:15 +0000
Subject: Re: Strange SOAP or XML parsing bug
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5445@lists.php.net to get a copy of this message
Hi Simon, I'm not getting this problem here. First, do you have latest cvs of SOAP, and second, can you email me (directly) a script you use to produce the error. I downloaded the one mentioned, and can do the 'php monkey' query just fine. Thanks Shane Shane Caraveo wrote:
Ok, I may not be able to get to it today (though I shall try), but I certainly *WILL* have it fixed by end of day on Sunday at the latest. Shane Simon Willison wrote:
Shane Caraveo wrote:
Hi Simon, Can you provide some queries you did to repro the problem? Shane
"php" and "monkey" both resulted in the error I describe. I haven't tried the new SOAP_Google class from PEAR yet but having glanced at the code it looks like it should suffer from the same problems. Cheers, Simon
Simon Willison wrote:
Sorry for the vague description but I'm not entirely sure where this bug is located. While playing with the new Google Web API (using the PEAR SOAP package) I came across a strange bug. For some queries sent to Google the returned XML was deciphered prefectly, but a few queries resulted in a PEAR_Error object announcing "XML error on line X: not well-formed (invalid token)". More information including the full code can be found here: http://toys.incutio.com/php/php-google-web-api.html Thanks, Simon Willison


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