GNU bug report logs - #9265
24.0.50; libxml-parse-xml-region broken

Previous Next

Package: emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9265 in the body.
You can then email your comments to 9265 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9265; Package emacs. (Tue, 09 Aug 2011 13:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Engster <deng <at> randomsample.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 09 Aug 2011 13:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: David Engster <deng <at> randomsample.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 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 <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




Merged 9265 9388. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 28 Aug 2011 02:08:01 GMT) Full text and rfc822 format available.

Forcibly Merged 9144 9265 9388. Request was from David Engster <deng <at> randomsample.de> to control <at> debbugs.gnu.org. (Mon, 05 Sep 2011 09:01:02 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 10 Sep 2011 18:23:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.1, send any further explanations to 9144 <at> debbugs.gnu.org and Katsumi Yamaoka <yamaoka <at> jpl.org> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 10 Sep 2011 18:23:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 Oct 2011 11:24:03 GMT) Full text and rfc822 format available.

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.