Thread: [blogBuddy-devel] More XML-RPC bugs?
Status: Beta
Brought to you by:
oddsson
From: S. R. O. <sro...@ho...> - 2001-10-31 23:21:07
|
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><value><struct><member><name>userid</name><value>14435</value></member><member><name>dateCreated</name><value><dateTime.iso8601>20011010T11:05:48</dateTime.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></member></struct></value><value><struct><member><name>userid</name><value>14435</value></member><member><name>dateCreated</name><value><dateTime.iso8601>20011009T18:23:07</dateTime.iso8601></value></member><member><name>content</name><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></member></struct></value><value><struct><member><name>userid</name><value>14435</value></member><member><name>dateCreated</name><value><dateTime.iso8601>20011008T00:35:01</dateTime.iso8601></value></member><member><name>content</name><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></member></struct></value></data></array></value></param></params></methodResponse>' _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |