unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10315: 23.3; XML parsing error
@ 2011-12-16 14:00 Klaus Straubinger
  2012-07-01 11:07 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Klaus Straubinger @ 2011-12-16 14:00 UTC (permalink / raw)
  To: 10315

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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#10315: 23.3; XML parsing error
  2011-12-16 14:00 bug#10315: 23.3; XML parsing error Klaus Straubinger
@ 2012-07-01 11:07 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2012-07-01 11:07 UTC (permalink / raw)
  To: Klaus Straubinger; +Cc: 10315

Klaus Straubinger <KSNetz@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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-01 11:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-16 14:00 bug#10315: 23.3; XML parsing error Klaus Straubinger
2012-07-01 11:07 ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).