From ae0261106903fdd8e1aefe92549d4d88e521e6e6 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Wed, 1 Dec 2004 04:45:08 +0000 Subject: [PATCH] 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. --- lisp/xml.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 "