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

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).