GNU bug report logs -
#9265
24.0.50; libxml-parse-xml-region broken
Previous Next
Reported by: David Engster <deng <at> randomsample.de>
Date: Tue, 9 Aug 2011 13:37:02 UTC
Severity: normal
Tags: fixed
Merged with 9144,
9388
Found in version 24.0.50
Fixed in version 24.1
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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 <at> gmail.com>
committer: Lars Magne Ingebrigtsen <larsi <at> 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
This bug report was last modified 13 years and 338 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.