[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with xml-parse-string
From: |
Leo |
Subject: |
Problems with xml-parse-string |
Date: |
Tue, 14 Sep 2010 19:11:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (Mac OS X 10.6.4) |
Hello,
xml-parse-string is already defined in xml.el. How about rename these
two primitives to parse-html-string and parse-xml-string?
xml.el and the primitive xml-parse-string do not return the same
structure. But I don't know which one is better.
I use the primitive in a function like this
(defun test ()
(xml-parse-string (buffer-substring (point) (point-max))))
Somehow it can return the symbol `buffer-substring' or 'edebug-after',
after alternating C-u C-M-x and C-M-x that function. Unfortunately I
can't find a way to reliably reproduce it. Any wild guess where the
problem might be? Passing an empty string (xml-parse-string "") returns
#<objfwd to nil>, is this normal?
Leo
- Problems with xml-parse-string,
Leo <=
- Re: Problems with xml-parse-string, Lars Magne Ingebrigtsen, 2010/09/14
- Re: Problems with xml-parse-string, Stefan Monnier, 2010/09/15
- Re: Problems with xml-parse-string, Lars Magne Ingebrigtsen, 2010/09/15
- Re: Problems with xml-parse-string, Stefan Monnier, 2010/09/15
- Re: Problems with xml-parse-string, Lars Magne Ingebrigtsen, 2010/09/15
- Re: Problems with xml-parse-string, Leo, 2010/09/15
- Re: Problems with xml-parse-string, Julien Danjou, 2010/09/15
- Re: Problems with xml-parse-string, Chad Brown, 2010/09/15
- Re: Problems with xml-parse-string, Chong Yidong, 2010/09/21
- Re: Problems with xml-parse-string, Leo, 2010/09/21