* 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