From f58176e6fee6685419e44ccbb07c69d228211651 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 24 Sep 2001 09:26:53 +0000 Subject: [PATCH] (xml-parse-attlist): Quotes around attributes must be the same on each side. Make sure we properly handle simple quotes. From Daiki Ueno . --- lisp/xml.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/xml.el b/lisp/xml.el index ac27b776b95..23d4e5d25b1 100644 --- a/lisp/xml.el +++ b/lisp/xml.el @@ -290,7 +290,7 @@ Leaves the point on the first non-blank character after the tag." ;; Do we have a string between quotes (or double-quotes), ;; or a simple word ? (unless (looking-at "\"\\([^\"]+\\)\"") - (unless (looking-at "'\\([^\"]+\\)'") + (unless (looking-at "'\\([^']+\\)'") (error "XML: Attribute values must be given between quotes"))) ;; Each attribute must be unique within a given element -- 2.39.2