* xml.el parse numeric char reference error
@ 2013-01-22 21:17 Jae-oh Kim
0 siblings, 0 replies; only message in thread
From: Jae-oh Kim @ 2013-01-22 21:17 UTC (permalink / raw)
To: bug-gnu-emacs
There seems to be a bug in `xml-parse-string' in xml.el
$ cat example.xml
<?xml version="1.0"?>
<api>
<entries>
<p>  Numeric character reference .</p>
</entries>
</api>
evaluating
(xml-parse-file "example.xml")
results in the error message "(error "XML: (Not Well-Formed) Invalid
entity reference")"
Replace   with  , then parse it with no error.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-22 21:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-22 21:17 xml.el parse numeric char reference error Jae-oh Kim
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).