aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2003-03-20 18:01:58 +0000
committerJuanma Barranquero2003-03-20 18:01:58 +0000
commitf0ec17115f58f2f4d77059515c132ddfc3d7b233 (patch)
tree867f1c1359e1754b36bf7555518c0f23d8d29e34
parent76b7fded09728852167e48f9f0c00a46567856a5 (diff)
downloademacs-f0ec17115f58f2f4d77059515c132ddfc3d7b233.tar.gz
emacs-f0ec17115f58f2f4d77059515c132ddfc3d7b233.zip
(xml-parse-attlist): typo in attribute parsing.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/xml.el4
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e8be3fdcb80..f3b1fe775a5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12003-03-20 Mark A. Hershberger <mah@everybody.org>
2
3 * xml.el (xml-parse-attlist): Fix typo in attribute parsing.
4
12003-03-20 Kenichi Handa <handa@m17n.org> 52003-03-20 Kenichi Handa <handa@m17n.org>
2 6
3 * international/utf-8.el (ccl-decode-mule-utf-8): Fix a bug in 7 * international/utf-8.el (ccl-decode-mule-utf-8): Fix a bug in
diff --git a/lisp/xml.el b/lisp/xml.el
index fc6365b50a0..73bab4f20a5 100644
--- a/lisp/xml.el
+++ b/lisp/xml.el
@@ -294,7 +294,7 @@ Leaves the point on the first non-blank character after the tag."
294 ;; or a simple word ? 294 ;; or a simple word ?
295 (if (looking-at "\"\\([^\"]*\\)\"") 295 (if (looking-at "\"\\([^\"]*\\)\"")
296 (setq start-pos (match-beginning 0)) 296 (setq start-pos (match-beginning 0))
297 (if (looking-at "'\\([^']*\\)") 297 (if (looking-at "'\\([^']*\\)'")
298 (setq start-pos (match-beginning 0)) 298 (setq start-pos (match-beginning 0))
299 (error "XML: Attribute values must be given between quotes"))) 299 (error "XML: Attribute values must be given between quotes")))
300 300
@@ -314,7 +314,7 @@ Leaves the point on the first non-blank character after the tag."
314 (goto-char start-pos) 314 (goto-char start-pos)
315 (if (looking-at "\"\\([^\"]*\\)\"") 315 (if (looking-at "\"\\([^\"]*\\)\"")
316 (goto-char (match-end 0)) 316 (goto-char (match-end 0))
317 (if (looking-at "'\\([^']*\\)") 317 (if (looking-at "'\\([^']*\\)'")
318 (goto-char (match-end 0)))) 318 (goto-char (match-end 0))))
319 319
320 (goto-char (- (re-search-forward "[^ \t\n\r]") 1)) 320 (goto-char (- (re-search-forward "[^ \t\n\r]") 1))