|
From: | Katsumi Yamaoka |
Subject: | bug#9144: 24.0.50; libxml-parse-xml-region fails on a certain xml form |
Date: | Fri, 22 Jul 2011 09:35:05 +0900 |
User-agent: | Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (cygwin) |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |