aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/xml.el
diff options
context:
space:
mode:
authorShengHuo ZHU <[email protected]>2002-03-05 21:44:01 +0000
committerShengHuo ZHU <[email protected]>2002-03-05 21:44:01 +0000
commit01adac0d5da3fffc92d7a1419b43db8f88b64491 (patch)
treec3f62be68fb46c8ca26c2572c5786189997e8661 /lisp/xml.el
parent16e79fec78ee8ba56b2c67e727a4fc7b3b9a8377 (diff)
* xml.el (xml-parse-attlist): Accept empty strings.
From Max Froumentin <[email protected]>.
Diffstat (limited to 'lisp/xml.el')
-rw-r--r--lisp/xml.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/xml.el b/lisp/xml.el
index d6d6d80efa..a495721330 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