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


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: Klaus Straubinger <KSNetz <at> UseNet.ArcorNews.DE>
Cc: 10315 <at> debbugs.gnu.org
Subject: bug#10315: 23.3; XML parsing error
Date: Sun, 01 Jul 2012 19:07:33 +0800
Klaus Straubinger <KSNetz <at> UseNet.ArcorNews.DE> writes:

> 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)).

This is fixed in trunk (2012-06-24 change to xml.el).  Thanks for the
bug report.




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.