Commit f8ab034e authored by Mark A. Hershberger's avatar Mark A. Hershberger
Browse files

2005-05-26 Mark A. Hershberger <mah@everybody.org>

	* xml.el (xml-substitute-special): Don't die for undefined xml
	entities.
parent 6441d280
2005-05-26 Mark A. Hershberger <mah@everybody.org>
* xml.el (xml-substitute-special): Don't die for undefined xml
entities.
2005-05-26 Lute Kamstra <lute@gnu.org>
 
* arc-mode.el (archive-mode):
......
......@@ -84,6 +84,9 @@
;;**
;;*******************************************************************
(defconst xml-undefined-entity "?"
"What to substitute for undefined entities")
(defvar xml-entity-alist
'(("lt" . "<")
("gt" . ">")
......@@ -745,9 +748,10 @@ This follows the rule [28] in the XML specifications."
((eq (length this-part) 0)
(error "XML: (Not Well-Formed) No entity given"))
(t
(when xml-validating-parser
(if xml-validating-parser
(error "XML: (Validity) Undefined entity `%s'"
this-part))))))
this-part)
xml-undefined-entity)))))
(cond ((null children)
;; FIXME: If we have an entity that expands into XML, this won't work.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment