From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: mah@everybody.org Newsgroups: gmane.emacs.bugs Subject: typo in xml.el Date: Wed, 19 Mar 2003 22:23:45 -0600 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87k7eubr8u.fsf@batman.everybody.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048134280 30278 80.91.224.249 (20 Mar 2003 04:24:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 04:24:40 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 20 05:24:39 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vrbb-0007sE-00 for ; Thu, 20 Mar 2003 05:24:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vraz-0004MO-03 for gnu-bug-gnu-emacs@m.gmane.org; Wed, 19 Mar 2003 23:24:02 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vran-0004Jp-00 for bug-gnu-emacs@gnu.org; Wed, 19 Mar 2003 23:23:49 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vral-0004Fh-00 for bug-gnu-emacs@gnu.org; Wed, 19 Mar 2003 23:23:48 -0500 Original-Received: from batman.everybody.org ([66.93.249.200]) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10.13) id 18vral-00047q-00 for bug-gnu-emacs@gnu.org; Wed, 19 Mar 2003 23:23:47 -0500 Original-Received: from mah by batman.everybody.org with local (Exim 3.34 #1 (Debian)) id 18vraj-0000uY-00 for ; Wed, 19 Mar 2003 22:23:45 -0600 Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4638 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4638 2003-03-19 Mark A. Hershberger * xml.el (xml-parse-attlist): typo in attribute parsing. *** xml.el.~1.17.~ Tue Mar 18 23:15:41 2003 --- xml.el Wed Mar 19 22:20:56 2003 *************** *** 294,300 **** ;; or a simple word ? (if (looking-at "\"\\([^\"]*\\)\"") (setq start-pos (match-beginning 0)) ! (if (looking-at "'\\([^']*\\)") (setq start-pos (match-beginning 0)) (error "XML: Attribute values must be given between quotes"))) --- 294,300 ---- ;; or a simple word ? (if (looking-at "\"\\([^\"]*\\)\"") (setq start-pos (match-beginning 0)) ! (if (looking-at "'\\([^']*\\)'") (setq start-pos (match-beginning 0)) (error "XML: Attribute values must be given between quotes"))) *************** *** 314,320 **** (goto-char start-pos) (if (looking-at "\"\\([^\"]*\\)\"") (goto-char (match-end 0)) ! (if (looking-at "'\\([^']*\\)") (goto-char (match-end 0)))) (goto-char (- (re-search-forward "[^ \t\n\r]") 1)) --- 314,320 ---- (goto-char start-pos) (if (looking-at "\"\\([^\"]*\\)\"") (goto-char (match-end 0)) ! (if (looking-at "'\\([^']*\\)'") (goto-char (match-end 0)))) (goto-char (- (re-search-forward "[^ \t\n\r]") 1))