Mercurial > emacs
diff lisp/xml.el @ 39407:e6b056005c49
(xml-parse-attlist): Quotes around attributes must be the
same on each side. Make sure we properly handle simple quotes.
From Daiki Ueno <ueno@unixuser.org>.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Mon, 24 Sep 2001 09:26:53 +0000 |
| parents | 153f1b1f2efd |
| children | 7507bd185307 |
line wrap: on
line diff
--- a/lisp/xml.el Mon Sep 24 09:18:19 2001 +0000 +++ b/lisp/xml.el Mon Sep 24 09:26:53 2001 +0000 @@ -290,7 +290,7 @@ ;; 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
