bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#11286: 24.1.50; xml-parse-region returns "Invalid character" if last


From: Chong Yidong
Subject: bug#11286: 24.1.50; xml-parse-region returns "Invalid character" if last line is a comment
Date: Sat, 21 Apr 2012 17:55:00 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux)

Thamer Mahmoud <thamer.mahmoud@gmail.com> writes:

> (with-temp-buffer
>   (insert "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
>         "<rss version=\"2.0\">\n"
>         "</rss>\n"
>         "<!-- this line causes an error -->\n")
>   (xml-parse-region (point-min) (point-max)))

Thanks for the bug report and the clear testcase.  This regression was
caused by the fix to Bug#10405.  I've committed a fix to the emacs-24
branch.





reply via email to

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