diff --git a/lisp/xml.el b/lisp/xml.el index b0d5d45f98d..ec048a440bd 100644 --- a/lisp/xml.el +++ b/lisp/xml.el @@ -371,7 +371,9 @@ Returns one of: (let ((pos (match-end 0))) (unless (search-forward "]]>" nil t) (error "XML: (Not Well Formed) CDATA section does not end anywhere in the document")) - (buffer-substring pos (match-beginning 0)))) + (concat + (buffer-substring pos (match-beginning 0)) + (xml-parse-string)))) ;; DTD for the document ((looking-at "