diff options
author | Mark A. Hershberger <mah@everybody.org> | 2004-12-02 07:19:03 +0000 |
---|---|---|
committer | Mark A. Hershberger <mah@everybody.org> | 2004-12-02 07:19:03 +0000 |
commit | 27720433ac57a33a78b219107a01c20e65092814 (patch) | |
tree | 659a68f12d703ff9e5c07f22172b0da87c2d0630 /lisp | |
parent | 21c05941c371eab55f469cdef7d9a7d1c9848cfa (diff) | |
download | emacs-27720433ac57a33a78b219107a01c20e65092814.tar.gz |
Change existence of &; to not-well-formed.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/xml.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/xml.el b/lisp/xml.el index cf1fd771d18..550ade8ab8f 100644 --- a/lisp/xml.el +++ b/lisp/xml.el @@ -601,7 +601,7 @@ This follows the rule [28] in the XML specifications." (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 @@ This follows the rule [28] in the XML specifications." 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 @@ This follows the rule [28] in the XML specifications." (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'" |