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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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 File(s):

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
  • -unavailable- added by hexmode (Updated the item)
  • -unavailable- added by gotoh (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 02 Aug 2009 12:17:35 AM UTChexmodeOpen/ClosedOpen=>Closed
    Thu 15 Jan 2009 11:08:49 AM UTCgotohAttached File-=>Added xml-rpc-fix-double-escaping.diff, #17263

    Back to the top

    Powered by Savane 3.1-cleanup1