(reposting to list at Andre's suggestion)

Hello,

I'm using Lua XML-RPC so that I can have a Lua client make RPC calls to a daemon that understands XML-RPC. But some of the strings that I'm passing as parameters have characters that need to be escaped. i.e., ">" needs to get converted to ">". As it is now, this causes problems since clEncode merely shoves the parameter strings between xml tags without performing the escaping (or, heaven forbid, character encoding). I think I can workaround this by manually encoding my string parameters prior to sending them through xmlrpc.http.call, but it seems this should be handled in the library.

I am happy to send a patch that encodes the characters I care about, or that frames the string with <![CDATA["somebadstring"]]>, but I am a novice Lua programmer and perhaps there is a more general way to fix this. Do you have any preferences? Do you agree that this should be fixed?

Thanks! Lua XML-RPC has been most useful to us here.

-Daniel


_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to