bugEmacs Weblogging - Bugs: bug #25314, double escaping of string...


bug #25314: double escaping of string parameter with xml.el of emacs 23

Submitted by:  Shun-ichi Goto <gotoh>
Submitted on:  Wed 14 Jan 2009 08:22:34 AM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


Wed 14 Jan 2009 08:22:34 AM UTC, original submission:  

The xml-print<f> in xml.el code distributed with emacs 23 is
changed to escape string content. That change is made at
But xml-rpc.el does escape in xml-rpc-value-to-xml-list<f>
using url-insert-entities-in-string<f>.
So remote side will get string argument as double-escaped

I suggest xml-rpc.el to check the behaviour of xml.el
then decide to use of url-insert-entities-in-string<f>.
Or define own version of xml-print<f> which does not
escape (like ealier version of xml.el).

Shun-ichi Goto <gotoh>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #17263:  xml-rpc-fix-double-escaping.diff added by gotoh (1KiB - application/octet-stream - Patch to support both old and new xml.el (against rev 1.11))


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by hexmode (Updated the item)
  • -email is unavailable- added by gotoh (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-08-02 hexmode Open/ClosedOpen => Closed
    2009-01-15 gotoh Attached File- => Added xml-rpc-fix-double-escaping.diff, #17263

    Back to the top

    Powered by Savane 3.9