summaryrefslogtreecommitdiff
path: root/lisp/xml.el
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-05-31 08:17:31 +0000
committerGerd Moellmann <gerd@gnu.org>2001-05-31 08:17:31 +0000
commit1300e2720b8fe0bc06b8965404c5fba3adae65eb (patch)
tree895844b3d4089a8c86626780284e6c901a28ee5c /lisp/xml.el
parent9652931f21f2831d42f0ece8d190f0dfca439b49 (diff)
downloademacs-1300e2720b8fe0bc06b8965404c5fba3adae65eb.tar.gz
(xml-parse-tag): The document may contain invalid characters.
From ShengHuo ZHU <zsh@cs.rochester.edu>
Diffstat (limited to 'lisp/xml.el')
-rw-r--r--lisp/xml.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/xml.el b/lisp/xml.el
index 25851e2a9ea..a07f449b317 100644
--- a/lisp/xml.el
+++ b/lisp/xml.el
@@ -1,6 +1,6 @@
;; @(#) xml.el --- XML parser
-;; Copyright (C) 2000 Free Software Foundation, Inc.
+;; Copyright (C) 2000, 2001 Free Software Foundation, Inc.
;; Author: Emmanuel Briot <briot@gnat.com>
;; Maintainer: Emmanuel Briot <briot@gnat.com>
@@ -272,6 +272,8 @@ Returns one of:
;; This was an invalid start tag
(error "XML: Invalid attribute list")
))))
+ (t ;; This is not a tag.
+ (error "XML: Invalid character."))
))
(defun xml-parse-attlist (end)