changeset 37958:d1fdbba91c71

(xml-parse-tag): The document may contain invalid characters. From ShengHuo ZHU <zsh@cs.rochester.edu>
author Gerd Moellmann <gerd@gnu.org>
date Thu, 31 May 2001 08:17:31 +0000
parents 492899458b0b
children b53edc686faf
files lisp/xml.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/xml.el	Thu May 31 08:09:47 2001 +0000
+++ b/lisp/xml.el	Thu May 31 08:17:31 2001 +0000
@@ -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 @@
 	  ;;  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)