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: xml-parse-region should be more flexible in recognising empty elements Date: Wed, 04 Dec 2002 13:32:51 -0600 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <87adjlbmvw.fsf@mah.mcdermott.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039030410 9912 80.91.224.249 (4 Dec 2002 19:33:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Dec 2002 19:33:30 +0000 (UTC) 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 18JfGy-0002Zd-00 for ; Wed, 04 Dec 2002 20:33:28 +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 18JfGx-0002dI-00; Wed, 04 Dec 2002 14:33:27 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18JfGR-0002Az-00 for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2002 14:32:55 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18JfGP-0002Ae-00 for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2002 14:32:54 -0500 Original-Received: from gate.mcdermott.com ([131.184.96.33]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18JfGO-0002AI-00 for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2002 14:32:53 -0500 Original-Received: from mah.mcdermott.com (mah.mcdermott.com [131.184.104.67]) by gate.mcdermott.com (8.11.2/8.11.2) with ESMTP id gB4JWpJ28828 for ; Wed, 4 Dec 2002 13:32:51 -0600 (CST) Original-Received: from mah by mah.mcdermott.com with local (Exim 3.36 #1 (Debian)) id 18JfGN-0003Tm-00 for ; Wed, 04 Dec 2002 13:32:51 -0600 Original-To: bug-gnu-emacs@gnu.org Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:4007 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4007 xml-parse-region fails to parse empty elements like the following: To avoid this problem, the following code: ;; is this an empty element ? (if (looking-at "/>") should be changed to: ;; is this an empty element ? (if (looking-at "/[ \t\n]*>") Mark.