aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGerd Moellmann2001-05-31 08:17:31 +0000
committerGerd Moellmann2001-05-31 08:17:31 +0000
commit1300e2720b8fe0bc06b8965404c5fba3adae65eb (patch)
tree895844b3d4089a8c86626780284e6c901a28ee5c /lisp
parent9652931f21f2831d42f0ece8d190f0dfca439b49 (diff)
downloademacs-1300e2720b8fe0bc06b8965404c5fba3adae65eb.tar.gz
emacs-1300e2720b8fe0bc06b8965404c5fba3adae65eb.zip
(xml-parse-tag): The document may contain invalid characters.
From ShengHuo ZHU <zsh@cs.rochester.edu>
Diffstat (limited to 'lisp')
-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 @@
1;; @(#) xml.el --- XML parser 1;; @(#) xml.el --- XML parser
2 2
3;; Copyright (C) 2000 Free Software Foundation, Inc. 3;; Copyright (C) 2000, 2001 Free Software Foundation, Inc.
4 4
5;; Author: Emmanuel Briot <briot@gnat.com> 5;; Author: Emmanuel Briot <briot@gnat.com>
6;; Maintainer: Emmanuel Briot <briot@gnat.com> 6;; Maintainer: Emmanuel Briot <briot@gnat.com>
@@ -272,6 +272,8 @@ Returns one of:
272 ;; This was an invalid start tag 272 ;; This was an invalid start tag
273 (error "XML: Invalid attribute list") 273 (error "XML: Invalid attribute list")
274 )))) 274 ))))
275 (t ;; This is not a tag.
276 (error "XML: Invalid character."))
275 )) 277 ))
276 278
277(defun xml-parse-attlist (end) 279(defun xml-parse-attlist (end)