From: Mark A. Hershberger Date: Wed, 1 Dec 2004 04:45:08 +0000 (+0000) Subject: 2004-11-30 Mark A. Hershberger X-Git-Tag: ttn-vms-21-2-B4~3496 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ae0261106903fdd8e1aefe92549d4d88e521e6e6;p=emacs.git 2004-11-30 Mark A. Hershberger * xml.el (xml-substitute-special): Fix validity error messages to actually show the unexpandable entity. Added validity error if & isn't followed by an entity. (xml-parse-tag): Concatnate any string following the a section to the parsed CDATA. --- 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 "