# HG changeset patch # User Mark A. Hershberger # Date 1101876308 0 # Node ID 10ecc7ffdc5a3478b420489b4fc2cf31a17a7627 # Parent 5deed09aa3c963d4adbabfbe0df29e299660c71f 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 -r 5deed09aa3c9 -r 10ecc7ffdc5a lisp/xml.el --- a/lisp/xml.el Wed Dec 01 04:08:34 2004 +0000 +++ b/lisp/xml.el Wed Dec 01 04:45:08 2004 +0000 @@ -371,7 +371,9 @@ (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 "