# HG changeset patch # User ShengHuo ZHU # Date 1015364641 0 # Node ID 373960858cccaf9c00c989db7228e1d4ebd7b688 # Parent c32d1082ee0e6252d6c6b2952e9b56a2c19f7a83 * xml.el (xml-parse-attlist): Accept empty strings. From Max Froumentin . diff -r c32d1082ee0e -r 373960858ccc lisp/ChangeLog --- a/lisp/ChangeLog Tue Mar 05 21:04:21 2002 +0000 +++ b/lisp/ChangeLog Tue Mar 05 21:44:01 2002 +0000 @@ -1,3 +1,8 @@ +2002-03-05 ShengHuo ZHU + + * xml.el (xml-parse-attlist): Accept empty strings. + From Max Froumentin . + 2002-03-05 Eli Zaretskii * mouse.el (mouse-show-mark): Remove the no-highlight alternative: diff -r c32d1082ee0e -r 373960858ccc lisp/xml.el --- a/lisp/xml.el Tue Mar 05 21:04:21 2002 +0000 +++ b/lisp/xml.el Tue Mar 05 21:44:01 2002 +0000 @@ -288,8 +288,8 @@ ;; 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