Commit 01adac0d authored by ShengHuo ZHU's avatar ShengHuo ZHU
Browse files

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

	From Max Froumentin <mf@w3.org>.
parent 16e79fec
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment