emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] xml-debug-print-internal needs to quote attributes and text


From: Stefan Monnier
Subject: Re: [PATCH] xml-debug-print-internal needs to quote attributes and text
Date: Thu, 20 Dec 2007 19:33:00 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>> Load xml.el to define `xml-debug-print' and evaluate the following:
>> 
>> (xml-debug-print
>> '((foo ((attr . "<bar> & \"<bar>\"")) "<bar> & \"<bar>\"")))

> Fixed by creating xml-escape-string and using it in xml-debug-print. 

Note that the name `xml-debug-print' indicates clearly that this is not
intended to be used as a real printer function.  So if it's not the case
any more, it should be renamed to `xml-print' or somesuch.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]