[blogBuddy-devel] Re: Fwd: Re: More XML-RPC bugs?
Status: Beta
Brought to you by:
oddsson
|
From: Joseph E. <je...@ph...> - 2001-11-11 17:56:46
|
I have recently come across some odd bugs, and some half fixes for them. (BTW, Thanks for letting me know hes working on it, hopefully, it will release very soon) I noticed that when returning a struct, the last key and value is lost. The parser is somehow loosing it. I made a small change in TSimpleParser.StripTag() which somehow fixes some of the problems dealing with structs. I am not sure if it will help you or not ... Comment out the line that says: sTemp := StringReplace(sTemp,'>','',[rfReplaceAll]); Let me know if you hear anything back. Joseph Engo > "S. R. Oddsson" <sro...@ho...> wrote*: > > Hi, > > I just got this reply from Cliff the CodePunk. > > Seems he has been doing some intense changes. I hope he has fixed all > the bugs. > > I must admit that I had already started writing my own XML-RPC parser. > If all else fails I can always fall back to that one. > > Oddsson > > >>From: "Codepunk" <cod...@co...> >>Reply-To: "Codepunk" <cod...@co...> >>To: "S. R. Oddsson" <sro...@ho...> >>Subject: Re: More XML-RPC bugs? >>Date: Sat, 10 Nov 2001 00:25:41 -0600 >> >>I am going to put up a new relese this weekend. I replaced the old >>simple parser with something industrial strength. I also totally >>reworked the object stack and it now supports extremely deeply nested >>objects with no problems, I also intend to release SSL support this >>time also. >> >>I have the new version up and running but I need to put it through all >>of the interop tests just to make sure it is working correctly. >> >>Cliff >>----- Original Message ----- >>From: "S. R. Oddsson" <sro...@ho...> >>To: <cod...@co...> >>Cc: <blo...@li...> >>Sent: Wednesday, October 31, 2001 5:20 PM >>Subject: More XML-RPC bugs? >> >> >> > Hi CodePunk, >> > >> > I came upon another bug in the XML-RPC library just now. >> > >> > When processing a methodResponse for the second time I get an error >>saying >> > that Item is not a struct. I requesting a struct from an array. I >> > have >>not >> > been able to locate the exact error but when I process the response >> > for >>the >> > first time it comes out okay. (See bottom of post for exact >>methodReponse). >> > >> > I also mentioned the other day two problems; >> > When inserting text into a struct from a methodReponse, < and & >> > are >> > changed to their respective HTML codes when the correct way would be >> > to >>do >> > it the other way around >> > The IsDataTag method currently returns false on a number of true >> > data >> > tags. I sent you a suggestion a while back to fix this. >> > >> > Oddsson >> > >> > P.s. I'm sending a CC of this email to the blogBuddy-devel mailing >> > list >>as >> > another member has also been running into these problems. >> > >> > The complete methodResponse: >> > >> > '<?xml version="1.0" >> > >>encoding="ISO-8859-1"?><methodResponse><params><param><value><array><data><v >>alue><struct><member><name>userid</name><value>14435</value></member><member >> ><name>dateCreated</name><value><dateTime.iso8601>20011010T11:05:48</dateTim >>e.iso8601></value></member><member><name>content</name><value><b>Death >> > wish?</b>'#$D#$A'Drove past my favorite gas station last night. I >> > glimpsed at the guy that pumps the gas and obviously he was watching >> > me because I could see him throwing away his cigarette behind some >> > boxes >>just >> > as our eyes met. I wondered if I should turn around and ask him >> > which he thought would kill him sooner, smoking in general or >> > smoking next to the >>gas >> > >>pumps.</value></member><member><name>postid</name><value>6232904</value></me >>mber></struct></value><value><struct><member><name>userid</name><value>14435 >></value></member><member><name>dateCreated</name><value><dateTime.iso8601>20 >>011009T18:23:07</dateTime.iso8601></value></member><member><name>content</na >>me><value><b>Blogger >> > trouble</b>'#$D#$A'Working on 0.4 of <a >> > href="http://blogbuddy.sourceforge.net/">blogBuddy</a> at the >> > moment. Unfortunately I can not try out the changes as the XML-RPC >> > interface of blogger.com seems to be unresponsive. Nothing posted at >> > the <a href="http://status.blogger.com/">Blogger status</a> >> > page so there >>might >> > be something wrong on my end. Doubt it >> > >>though.</value></member><member><name>postid</name><value>6217126</value></m >>ember></struct></value><value><struct><member><name>userid</name><value>1443 >>5</value></member><member><name>dateCreated</name><value><dateTime.iso8601>2 >>0011008T00:35:01</dateTime.iso8601></value></member><member><name>content</n >>ame><value><b>My >> > first post</b>'#$D#$A'This is my first posting to this blog. >> > Right >>now >>I >> > have not fully decided what is to be posted on this page. Actually, >> > I'm pretty sure that I never will. Knowing myself I suppose I will >> > just post whatever comes to >> > >>mind.</value></member><member><name>postid</name><value>6178138</value></mem >>ber></struct></value></data></array></value></param></params></methodRespons >>e>' >> > >> > _________________________________________________________________ >> > Get your FREE download of MSN Explorer at >>http://explorer.msn.com/intl.asp >> > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp Get your FREE download of MSN Explorer > at http://explorer.msn.com/intl.asp |