Commit 46035c64 authored by Ulf Jasper's avatar Ulf Jasper

newsticker: Fix bug#18787: Tell libxml-parse-xml-region to discard comments.

* lisp/net/newst-backend.el (newsticker--sentinel-work): Tell
`libxml-parse-xml-region' to discard comments. Fixes bug#18787.
parent b559a603
2014-11-22 Ulf Jasper <ulf.jasper@web.de>
* net/newst-backend.el (newsticker--sentinel-work): Tell
`libxml-parse-xml-region' to discard comments. Fixes bug#18787.
2014-11-22 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-sh.el (tramp-sh-handle-start-file-process)
......
......@@ -879,10 +879,11 @@ Argument BUFFER is the buffer of the retrieval process."
(decode-coding-region (point-min) (point-max)
coding-system))
(condition-case errordata
;; The xml parser might fail
;; or the xml might be bugged
;; The xml parser might fail or the xml might be
;; bugged
(if (fboundp 'libxml-parse-xml-region)
(list (libxml-parse-xml-region (point-min) (point-max)))
(list (libxml-parse-xml-region (point-min) (point-max)
nil t))
(xml-parse-region (point-min) (point-max)))
(error (message "Could not parse %s: %s"
(buffer-name) (cadr errordata))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment