unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9265: 24.0.50; libxml-parse-xml-region broken
@ 2011-08-09 11:19 David Engster
  0 siblings, 0 replies; only message in thread
From: David Engster @ 2011-08-09 11:19 UTC (permalink / raw)
  To: 9265

Recipe:

* emacs -Q

* Enter the following:

(libxml-parse-xml-region (1- (search-forward "<" nil t))  (point-max))

<?xml version="1.0"?>
<whatever>hi there!</whatever>

* Evaluate the first line.

* Returns nil, but should return '(whatever nil "hi there!")'

* Note that `libxml-parse-html-region' still works fine, though.


I'm pretty sure I could pinpoint this issue to this commit:

revno: 105297
author: HAMANO Kiyoto <khiker.mail@gmail.com>
committer: Lars Magne Ingebrigtsen <larsi@gnus.org>
branch nick: trunk
timestamp: Wed 2011-07-20 22:05:02 +0200
message:
  * xml.c (parse_region): If a document contains only comments, return that, too.


Cheers,
David





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-09 11:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09 11:19 bug#9265: 24.0.50; libxml-parse-xml-region broken David Engster

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