Subject: bug#10315: 23.3; XML parsing error

From: Chong Yidong <[email-masked]>
Date: Sun, 01 Jul 2012 19:07:33 +0800

Klaus Straubinger <[email-masked]> 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.