From unknown Thu Sep 11 13:55:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#10315 <10315@debbugs.gnu.org> To: bug#10315 <10315@debbugs.gnu.org> Subject: Status: 23.3; XML parsing error Reply-To: bug#10315 <10315@debbugs.gnu.org> Date: Thu, 11 Sep 2025 20:55:28 +0000 retitle 10315 23.3; XML parsing error reassign 10315 emacs submitter 10315 Klaus Straubinger severity 10315 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 16 11:54:42 2011 Received: (at submit) by debbugs.gnu.org; 16 Dec 2011 16:54:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rbb3S-0005Eu-9b for submit@debbugs.gnu.org; Fri, 16 Dec 2011 11:54:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbYNQ-0001HA-DV for submit@debbugs.gnu.org; Fri, 16 Dec 2011 09:03:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbYLn-0003BL-8L for submit@debbugs.gnu.org; Fri, 16 Dec 2011 09:01:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:44696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbYLn-0003BH-6w for submit@debbugs.gnu.org; Fri, 16 Dec 2011 09:01:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbYLf-0008JX-Gj for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 09:01:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbYLZ-00037g-VJ for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 09:01:19 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:58556) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RbYLZ-00036z-AQ for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2011 09:01:13 -0500 Received: (qmail invoked by alias); 16 Dec 2011 14:01:09 -0000 Received: from pD956670C.dip.t-dialin.net (EHLO LENOVO-CDC60F18) [217.86.103.12] by mail.gmx.net (mp071) with SMTP; 16 Dec 2011 15:01:09 +0100 X-Authenticated: #3491988 X-Provags-ID: V01U2FsdGVkX1+Tls1+CEmTZk/l0dmeCxl6i2LLpWvRFYqsBcu184 iTwXayl+j68xZ2 Message-ID: <82ehw4pqee.fsf@GMX.DE> Date: Fri, 16 Dec 2011 15:00:57 +0100 () From: Klaus Straubinger To: bug-gnu-emacs@gnu.org Subject: 23.3; XML parsing error MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Gnus/5.13 (Gnus v5.13) Emacs/23.3 X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 16 Dec 2011 11:54:36 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) In GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/imagesupport/include' In a buffer with only "" as content, without a final newline, evaluating (xml-parse-region (point-min) (point-max)) results in the error message "End of buffer". After adding a newline character at the end of the buffer, the result of evaluating (xml-parse-region (point-min) (point-max)) is the expected ((a nil)). -- Klaus Straubinger From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 01 07:12:16 2012 Received: (at 10315) by debbugs.gnu.org; 1 Jul 2012 11:12:16 +0000 Received: from localhost ([127.0.0.1]:39878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlI4d-0004h2-Fo for submit@debbugs.gnu.org; Sun, 01 Jul 2012 07:12:16 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:51453) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlI4a-0004gu-NT for 10315@debbugs.gnu.org; Sun, 01 Jul 2012 07:12:13 -0400 Received: from cm162.gamma80.maxonline.com.sg ([202.156.80.162]:43520 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SlI0B-0003ST-O5; Sun, 01 Jul 2012 07:07:41 -0400 From: Chong Yidong To: Klaus Straubinger Subject: Re: bug#10315: 23.3; XML parsing error References: <82ehw4pqee.fsf@GMX.DE> Date: Sun, 01 Jul 2012 19:07:33 +0800 In-Reply-To: <82ehw4pqee.fsf@GMX.DE> (Klaus Straubinger's message of "Fri, 16 Dec 2011 15:00:57 +0100 ()") Message-ID: <87mx3jzqmi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 10315 Cc: 10315@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Klaus Straubinger writes: > In a buffer with only "" as content, without a final > newline, evaluating (xml-parse-region (point-min) (point-max)) results > in the error message "End of buffer". > > After adding a newline character at the end of the buffer, the result > of evaluating (xml-parse-region (point-min) (point-max)) is the > expected ((a nil)). This is fixed in trunk (2012-06-24 change to xml.el). Thanks for the bug report. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 01 07:13:34 2012 Received: (at control) by debbugs.gnu.org; 1 Jul 2012 11:13:34 +0000 Received: from localhost ([127.0.0.1]:39882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlI5t-0004iv-7M for submit@debbugs.gnu.org; Sun, 01 Jul 2012 07:13:34 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:51470) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SlI5r-0004im-Er for control@debbugs.gnu.org; Sun, 01 Jul 2012 07:13:32 -0400 Received: from cm162.gamma80.maxonline.com.sg ([202.156.80.162]:43523 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SlI1U-0003UW-JE for control@debbugs.gnu.org; Sun, 01 Jul 2012 07:09:01 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 10315 Date: Sun, 01 Jul 2012 19:08:56 +0800 Message-ID: <87txxrwxfb.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 10315 thanks From unknown Thu Sep 11 13:55:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 29 Jul 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator