diff options
| author | ShengHuo ZHU | 2002-03-05 21:44:01 +0000 |
|---|---|---|
| committer | ShengHuo ZHU | 2002-03-05 21:44:01 +0000 |
| commit | 01adac0d5da3fffc92d7a1419b43db8f88b64491 (patch) | |
| tree | c3f62be68fb46c8ca26c2572c5786189997e8661 | |
| parent | 16e79fec78ee8ba56b2c67e727a4fc7b3b9a8377 (diff) | |
| download | emacs-01adac0d5da3fffc92d7a1419b43db8f88b64491.tar.gz emacs-01adac0d5da3fffc92d7a1419b43db8f88b64491.zip | |
* xml.el (xml-parse-attlist): Accept empty strings.
From Max Froumentin <mf@w3.org>.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/xml.el | 4 |
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 @@ | |||
| 1 | 2002-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 | |||
| 1 | 2002-03-05 Eli Zaretskii <eliz@is.elta.co.il> | 6 | 2002-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 |