Cannot pass empty list as XML-RPC array

Bug #684844 reported by Linda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xml-rpc-el
Undecided
Unassigned

Bug Description

As lisp treats the empty list as "nil" one cannot currently pass an empty list as an XML-RPC array type.

Revision history for this message
Linda (linda-briesemeister) wrote :

Attached is a solution for this problem: Allow vectors to be used to describe XML-RPC arrays. Then, an empty vector [] will be translated into the correct XML.

Revision history for this message
Linda (linda-briesemeister) wrote :

OK, trying one more time to limit attachment to patch and not full source code.

Revision history for this message
Linda (linda-briesemeister) wrote :

Sorry for the number of comments but I wanted to give credit to my colleague Sam Owre for fixing this bug and writing the submitted code.

Revision history for this message
Mark A. Hershberger (hexmode) wrote :

I'm really sorry I missed this for the past few years. If you're still around, could you update this? I can't seem to get to your patch.

Revision history for this message
Linda (linda-briesemeister) wrote :

Hi Mark, no worries!
My code has improved (hopefully) over the years. I also had to address a couple other bugs or shortcomings (e.g., implementing support for base64 encoded strings). I have kept the examples and "History" portion in the comments up to date (but not necessarily the rest):

https://sourceforge.net/p/latextrack/code/ci/master/tree/ltc-emacs/src/main/resources/xml-rpc.el

Hope this helps. Let me know if you need more explanations or if I should narrow down the changes that I made to address this specific bug.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments