From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mah@everybody.org (Mark A. Hershberger) Newsgroups: gmane.emacs.devel Subject: [PATCH] xml-debug-print-internal needs to quote attributes and text Date: Mon, 17 Dec 2007 22:31:49 -0500 Message-ID: <87abo8vftm.fsf@everybody.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197948719 7398 80.91.229.12 (18 Dec 2007 03:31:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2007 03:31:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 18 04:32:11 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J4TBi-0001Q6-Fc for ged-emacs-devel@m.gmane.org; Tue, 18 Dec 2007 04:32:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4TBP-0002Sd-9l for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2007 22:31:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J4TBL-0002P5-DJ for emacs-devel@gnu.org; Mon, 17 Dec 2007 22:31:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J4TBJ-0002NI-SR for emacs-devel@gnu.org; Mon, 17 Dec 2007 22:31:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4TBJ-0002NC-NG for emacs-devel@gnu.org; Mon, 17 Dec 2007 22:31:45 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J4TBJ-00015U-Bl for emacs-devel@gnu.org; Mon, 17 Dec 2007 22:31:45 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J4TBB-0001mj-PI for emacs-devel@gnu.org; Tue, 18 Dec 2007 03:31:37 +0000 Original-Received: from 24.115.83.248.res-cmts.eph.ptd.net ([24.115.83.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Dec 2007 03:31:37 +0000 Original-Received: from mah by 24.115.83.248.res-cmts.eph.ptd.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Dec 2007 03:31:37 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 24.115.83.248.res-cmts.eph.ptd.net X-URL: http://mah.everybody.org/weblog/ User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:v2kyEC1lrOVgs9cFYdE3DzY112M= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:85239 Archived-At: writes: > Load xml.el to define `xml-debug-print' and evaluate the following: > > (xml-debug-print > '((foo ((attr . " & \"\"")) " & \"\""))) Fixed by creating xml-escape-string and using it in xml-debug-print. -- http://hexmode.com/ GPG Fingerprint: 7E15 362D A32C DFAB E4D2 B37A 735E F10A 2DFC BFF5 The most beautiful experience we can have is the mysterious. -- Albert Einstein, The World As I See it