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

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

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


From: David Engster
Subject: bug#9265: 24.0.50; libxml-parse-xml-region broken
Date: Tue, 09 Aug 2011 13:19:52 +0200

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 <khiker.mail@gmail.com>
committer: Lars Magne Ingebrigtsen <larsi@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





reply via email to

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