GNU bug report logs - #9144
24.0.50; libxml-parse-xml-region fails on a certain xml form

Previous Next

Package: emacs;

Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>

Date: Fri, 22 Jul 2011 00:36:02 UTC

Severity: normal

Tags: fixed

Merged with 9265, 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 9144 in the body.
You can then email your comments to 9144 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#9144; Package emacs. (Fri, 22 Jul 2011 00:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Katsumi Yamaoka <yamaoka <at> jpl.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 22 Jul 2011 00:36:02 GMT) Full text and rfc822 format available.

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

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; libxml-parse-xml-region fails on a certain xml form
Date: Fri, 22 Jul 2011 09:35:05 +0900
Hi,

`xml-parse-region' works but `libxml-parse-xml-region' doesn't.
Could you try this?

(with-current-buffer (url-retrieve-synchronously
		      "http://sankei.jp.msn.com/rss/news/points.xml")
  (insert (decode-coding-string (prog1
				    (buffer-string)
				  (erase-buffer)
				  (set-buffer-multibyte t))
				'utf-8-dos))
  (goto-char (point-min))
  (search-forward "<")
  (libxml-parse-xml-region (1- (point)) (point-max)))

Thanks.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9144; Package emacs. (Mon, 05 Sep 2011 06:03:01 GMT) Full text and rfc822 format available.

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

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: 9144 <at> debbugs.gnu.org
Subject: Re: bug#9144: 24.0.50;
	libxml-parse-xml-region fails on a certain xml form
Date: Mon, 05 Sep 2011 14:58:10 +0900
Ping?

Katsumi Yamaoka wrote:
> Hi,

> `xml-parse-region' works but `libxml-parse-xml-region' doesn't.
> Could you try this?

(with-current-buffer (url-retrieve-synchronously
		      "http://sankei.jp.msn.com/rss/news/points.xml")
  (insert (decode-coding-string (prog1
				    (buffer-string)
				  (erase-buffer)
				  (set-buffer-multibyte t))
				'utf-8-dos))
  (goto-char (point-min))
  (search-forward "<")
  (libxml-parse-xml-region (1- (point)) (point-max)))

> Thanks.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9144; Package emacs. (Mon, 05 Sep 2011 09:01:02 GMT) Full text and rfc822 format available.

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

From: David Engster <deng <at> randomsample.de>
To: 9144 <at> debbugs.gnu.org
Subject: merging libxml bugs
Date: Mon, 05 Sep 2011 10:56:53 +0200
forcemerge 9144 9265 9388
thanks

See also bugs 9265 and 9388 for more information on this problem.

-David




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.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9144; Package emacs. (Sat, 10 Sep 2011 18:23:02 GMT) Full text and rfc822 format available.

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

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Katsumi Yamaoka <yamaoka <at> jpl.org>
Cc: 9144 <at> debbugs.gnu.org
Subject: Re: bug#9144: 24.0.50;
	libxml-parse-xml-region fails on a certain xml form
Date: Sat, 10 Sep 2011 20:15:17 +0200
Katsumi Yamaoka <yamaoka <at> jpl.org> writes:

> (with-current-buffer (url-retrieve-synchronously
> 		      "http://sankei.jp.msn.com/rss/news/points.xml")
>   (insert (decode-coding-string (prog1
> 				    (buffer-string)
> 				  (erase-buffer)
> 				  (set-buffer-multibyte t))
> 				'utf-8-dos))
>   (goto-char (point-min))
>   (search-forward "<")
>   (libxml-parse-xml-region (1- (point)) (point-max)))

This should now work again in bzr Emacs.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




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.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9144; Package emacs. (Mon, 12 Sep 2011 04:13:02 GMT) Full text and rfc822 format available.

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

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 9144 <at> debbugs.gnu.org
Subject: Re: bug#9144: 24.0.50;
	libxml-parse-xml-region fails on a certain xml form
Date: Mon, 12 Sep 2011 13:09:22 +0900
Lars Magne Ingebrigtsen wrote:
> This should now work again in bzr Emacs.

Works fine.  Thank you!




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 12 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.