unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9144: 24.0.50; libxml-parse-xml-region fails on a certain xml form
@ 2011-07-22  0:35 Katsumi Yamaoka
  2011-09-05  5:58 ` Katsumi Yamaoka
  2011-09-05  8:56 ` bug#9144: merging libxml bugs David Engster
  0 siblings, 2 replies; 5+ messages in thread
From: Katsumi Yamaoka @ 2011-07-22  0:35 UTC (permalink / raw)
  To: 9144

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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#9144: 24.0.50; libxml-parse-xml-region fails on a certain xml form
  2011-07-22  0:35 bug#9144: 24.0.50; libxml-parse-xml-region fails on a certain xml form Katsumi Yamaoka
@ 2011-09-05  5:58 ` Katsumi Yamaoka
  2011-09-10 18:15   ` Lars Magne Ingebrigtsen
  2011-09-05  8:56 ` bug#9144: merging libxml bugs David Engster
  1 sibling, 1 reply; 5+ messages in thread
From: Katsumi Yamaoka @ 2011-09-05  5:58 UTC (permalink / raw)
  To: 9144

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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#9144: merging libxml bugs
  2011-07-22  0:35 bug#9144: 24.0.50; libxml-parse-xml-region fails on a certain xml form Katsumi Yamaoka
  2011-09-05  5:58 ` Katsumi Yamaoka
@ 2011-09-05  8:56 ` David Engster
  1 sibling, 0 replies; 5+ messages in thread
From: David Engster @ 2011-09-05  8:56 UTC (permalink / raw)
  To: 9144

forcemerge 9144 9265 9388
thanks

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

-David





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#9144: 24.0.50; libxml-parse-xml-region fails on a certain xml form
  2011-09-05  5:58 ` Katsumi Yamaoka
@ 2011-09-10 18:15   ` Lars Magne Ingebrigtsen
  2011-09-12  4:09     ` Katsumi Yamaoka
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-10 18:15 UTC (permalink / raw)
  To: Katsumi Yamaoka; +Cc: 9144

Katsumi Yamaoka <yamaoka@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/





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#9144: 24.0.50; libxml-parse-xml-region fails on a certain xml form
  2011-09-10 18:15   ` Lars Magne Ingebrigtsen
@ 2011-09-12  4:09     ` Katsumi Yamaoka
  0 siblings, 0 replies; 5+ messages in thread
From: Katsumi Yamaoka @ 2011-09-12  4:09 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 9144

Lars Magne Ingebrigtsen wrote:
> This should now work again in bzr Emacs.

Works fine.  Thank you!





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-12  4:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22  0:35 bug#9144: 24.0.50; libxml-parse-xml-region fails on a certain xml form Katsumi Yamaoka
2011-09-05  5:58 ` Katsumi Yamaoka
2011-09-10 18:15   ` Lars Magne Ingebrigtsen
2011-09-12  4:09     ` Katsumi Yamaoka
2011-09-05  8:56 ` bug#9144: merging libxml bugs David Engster

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).