aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShengHuo ZHU2002-03-05 21:44:01 +0000
committerShengHuo ZHU2002-03-05 21:44:01 +0000
commit01adac0d5da3fffc92d7a1419b43db8f88b64491 (patch)
treec3f62be68fb46c8ca26c2572c5786189997e8661
parent16e79fec78ee8ba56b2c67e727a4fc7b3b9a8377 (diff)
downloademacs-01adac0d5da3fffc92d7a1419b43db8f88b64491.tar.gz
emacs-01adac0d5da3fffc92d7a1419b43db8f88b64491.zip
* xml.el (xml-parse-attlist): Accept empty strings.
From Max Froumentin <mf@w3.org>.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/xml.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 980f8171fed..4f4f539e439 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
2
3 * xml.el (xml-parse-attlist): Accept empty strings.
4 From Max Froumentin <mf@w3.org>.
5
12002-03-05 Eli Zaretskii <eliz@is.elta.co.il> 62002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
2 7
3 * mouse.el (mouse-show-mark): Remove the no-highlight alternative: 8 * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
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."
288 288
289 ;; Do we have a string between quotes (or double-quotes), 289 ;; Do we have a string between quotes (or double-quotes),
290 ;; or a simple word ? 290 ;; or a simple word ?
291 (unless (looking-at "\"\\([^\"]+\\)\"") 291 (unless (looking-at "\"\\([^\"]*\\)\"")
292 (unless (looking-at "'\\([^']+\\)'") 292 (unless (looking-at "'\\([^']*\\)'")
293 (error "XML: Attribute values must be given between quotes"))) 293 (error "XML: Attribute values must be given between quotes")))
294 294
295 ;; Each attribute must be unique within a given element 295 ;; Each attribute must be unique within a given element