Re: Strange SOAP or XML parsing bug
| From: | Simon Willison | Date: | Fri, 12 Apr 2002 19:35:39 +0000 |
| Subject: | Re: Strange SOAP or XML parsing bug | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5418@lists.php.net to get a copy of this message | ||
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