* xml.el (xml-parse-attlist): Accept empty strings.

From Max Froumentin <mf@w3.org>.
This commit is contained in:
ShengHuo ZHU 2002-03-05 21:44:01 +00:00
parent 16e79fec78
commit 01adac0d5d
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2002-03-05 ShengHuo ZHU <zsh@cs.rochester.edu>
* xml.el (xml-parse-attlist): Accept empty strings.
From Max Froumentin <mf@w3.org>.
2002-03-05 Eli Zaretskii <eliz@is.elta.co.il>
* mouse.el (mouse-show-mark): Remove the no-highlight alternative:

View file

@ -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