From 1300e2720b8fe0bc06b8965404c5fba3adae65eb Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 31 May 2001 08:17:31 +0000 Subject: [PATCH] (xml-parse-tag): The document may contain invalid characters. From ShengHuo ZHU --- lisp/xml.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ;; Maintainer: Emmanuel Briot @@ -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) -- 2.39.2