288 |
|
|
289 |
;; Do we have a string between quotes (or double-quotes), |
;; Do we have a string between quotes (or double-quotes), |
290 |
;; or a simple word ? |
;; or a simple word ? |
291 |
(unless (looking-at "\"\\([^\"]+\\)\"") |
(unless (looking-at "\"\\([^\"]*\\)\"") |
292 |
(unless (looking-at "'\\([^']+\\)'") |
(unless (looking-at "'\\([^']*\\)'") |
293 |
(error "XML: Attribute values must be given between quotes"))) |
(error "XML: Attribute values must be given between quotes"))) |
294 |
|
|
295 |
;; Each attribute must be unique within a given element |
;; Each attribute must be unique within a given element |