Mercurial > emacs
changeset 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 | 9dd4ad9bc53e |
children | c0489c3f4bd9 |
files | lisp/xml.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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