RE: [PEAR] Pear XML RPC BUG

From: Date: Wed, 28 Jul 2004 13:02:10 +0000
Subject: RE: [PEAR] Pear XML RPC BUG
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13889@lists.php.net to get a copy of this message
Thankyou Sebastien, the patch works. However, it is still worrying to me that this should happen... I don't have much confidence in the parsing routine that's being used if something so simple as line breaks causes this problem... I'll post a fix to the Bug as a comment if I discover what's really going on... Cheers, Justin -----Original Message----- From: Sebastien Person [mailto:sperson@easter-eggs.com] Sent: 28 July 2004 13:36 To: pear-general@lists.php.net Subject: Re: [PEAR] Pear XML RPC BUG I encountered a similar problem. see http://pear.php.net/bugs/bug.php?id=1604. please test if it works for you. (!the patch I submited must be modified before applied because it remove the line I suggest instead of add it). sebastien person On Wed, 28 Jul 2004 11:58:21 +0100 "Justin Philpott" <justin@pressred.tv> wrote: > > Hello fellow developers, > > I wonder if anyone can shed any light on the following bug that I seem > to have encountered with the PEAR XML-RPC API: > > When calling a procedure on a server that I have set up, very slight > differences between the actual XML payload sent seem to make the > difference between "Unknown method" and a sucessful call. For example: > > the following payload that comprises a simple call, works correctly: > > <?xml version="1.0"?> > <methodCall> > > <methodName>bbdLogAbbOutput</methodName><params><param><value><string > >1248</string></value></param><param><value><string>log > >string</string></value></param></params></methodCall> > > whereas... the following does not work: > > <?xml version="1.0"?> > > <methodCall><methodName>bbdLogAbbOutput</methodName><params><param><v > > alue>alue><string>1248</string></value></param><param><value><string>log > string</string></value></param></params></methodCall> > > As you can see the only difference is a line break! > > Does anyone have any idea what may be happening within the XML RPC > server API that is causing this, surely incorrect, behaviour?? > > Thanks for your time, > > Justin Philpott > -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pear.general (#13889) next »