diff options
author | ShengHuo ZHU <zsh@cs.rochester.edu> | 2002-03-05 21:44:01 +0000 |
---|---|---|
committer | ShengHuo ZHU <zsh@cs.rochester.edu> | 2002-03-05 21:44:01 +0000 |
commit | 01adac0d5da3fffc92d7a1419b43db8f88b64491 (patch) | |
tree | c3f62be68fb46c8ca26c2572c5786189997e8661 /lisp/xml.el | |
parent | 16e79fec78ee8ba56b2c67e727a4fc7b3b9a8377 (diff) | |
download | emacs-01adac0d5da3fffc92d7a1419b43db8f88b64491.tar.gz |
* xml.el (xml-parse-attlist): Accept empty strings.
From Max Froumentin <mf@w3.org>.
Diffstat (limited to 'lisp/xml.el')
-rw-r--r-- | lisp/xml.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/xml.el b/lisp/xml.el index d6d6d80efa9..a495721330f 100644 --- a/lisp/xml.el +++ b/lisp/xml.el @@ -288,8 +288,8 @@ 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 "\"\\([^\"]*\\)\"") + (unless (looking-at "'\\([^']*\\)'") (error "XML: Attribute values must be given between quotes"))) ;; Each attribute must be unique within a given element |