GNU bug report logs - #10315
23.3; XML parsing error

Previous Next

Package: emacs;

Reported by: Klaus Straubinger <KSNetz <at> UseNet.ArcorNews.DE>

Date: Fri, 16 Dec 2011 16:55:06 UTC

Severity: minor

Found in version 23.3

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Klaus Straubinger <KSNetz <at> UseNet.ArcorNews.DE>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3; XML parsing error
Date: Fri, 16 Dec 2011 15:00:57 +0100 ()
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 "<a/><!-- c -->" 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





This bug report was last modified 13 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.