* xml.el (xml-parse-attlist): Accept empty strings.
From Max Froumentin <mf@w3.org>.
This commit is contained in:
parent
16e79fec78
commit
01adac0d5d
2 changed files with 7 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue