Mercurial > emacs
changeset 58723:9104d032d2fa
Change existence of &; to not-well-formed.
author | Mark A. Hershberger <mah@everybody.org> |
---|---|
date | Thu, 02 Dec 2004 07:19:03 +0000 |
parents | d6515597c65a |
children | 99943ffd0774 |
files | lisp/xml.el |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/xml.el Thu Dec 02 06:55:05 2004 +0000 +++ b/lisp/xml.el Thu Dec 02 07:19:03 2004 +0000 @@ -601,7 +601,7 @@ (t (if xml-validating-parser (error "XML: (Validity) Invalid element type in the DTD")))) - + ;; rule [45]: the element declaration must be unique (if (and (assoc element dtd) xml-validating-parser) @@ -654,7 +654,7 @@ parse-ns)))))))) (t (when xml-validating-parser - (error "XML: (Validity) Invalid DTD item"))))) + (error "XML: (Validity) Invalid DTD item")))))) (if (looking-at "\\s-*]>") (goto-char (nth 1 (match-data))))) (nreverse dtd))) @@ -725,8 +725,7 @@ (entity (cdr entity)) ((eq (length this-part) 0) - (when xml-validating-parser - (error "XML: (Validity) No entity given"))) + (error "XML: (Not Well-Formed) No entity given")) (t (when xml-validating-parser (error "XML: (Validity) Undefined entity `%s'"