|
From: Brian L. <bl...@hc...> - 2000-12-14 01:09:46
|
ok, I had a couple of problems: 1) the http::geturl method is sending application/x-url-encoded (or something like that) as the content-type when submitting data to the server. I solved that by writing some hacky code to do the socket communication with the server by hand. Its not very robust and is a break-fix. 2) The PHP XML-RPC server being used with meerkat didn't dig the <!DOCTYPE...> part of the XML stream that was added by the dom.tcl 3) The elementOptionsRO variable in dom.tcl should have the options separated by a "|" instead of a space; this broke the regexp command. 4) In dom::Trim, the function was trying to iterate over a variable that wasn't set, raising an error. I wrapped that in an if. Attached is my modified dom.tcl (based on TclDOM-1.6), xmlrpc.tcl (From Aaron's post the other day), and my really simple driver script that reflects the new signature of the xmlrpc::call method. Gotta go. Let me know if I came even close on these! B _____________________________________________________________________________ B r i a n L a l o r bl...@hc... http://hcirisc.cs.binghamton.edu/~blalor Spam me not. To get my pgp key, put "get pgp key" in the subject of your message Woody: Hey, Mr. Peterson, there's a cold one waiting for you. Norm: I know, and if she calls, I'm not here. -- Cheers, Bar Wars II: The Woodman Strikes Back |