Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bug#9265: 24.0.50; libxml-parse-xml-region broken

4 views
Skip to first unread message

David Engster

unread,
Aug 9, 2011, 7:19:52 AM8/9/11
to 92...@debbugs.gnu.org
Recipe:

* emacs -Q

* Enter the following:

(libxml-parse-xml-region (1- (search-forward "<" nil t)) (point-max))

<?xml version="1.0"?>
<whatever>hi there!</whatever>

* Evaluate the first line.

* Returns nil, but should return '(whatever nil "hi there!")'

* Note that `libxml-parse-html-region' still works fine, though.


I'm pretty sure I could pinpoint this issue to this commit:

revno: 105297
author: HAMANO Kiyoto <khike...@gmail.com>
committer: Lars Magne Ingebrigtsen <la...@gnus.org>
branch nick: trunk
timestamp: Wed 2011-07-20 22:05:02 +0200
message:
* xml.c (parse_region): If a document contains only comments, return that, too.


Cheers,
David

0 new messages