unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Error in xml.el documentation
Date: Fri, 22 Feb 2008 23:07:30 +0000	[thread overview]
Message-ID: <47BF55B2.9090400@gnu.org> (raw)
In-Reply-To: <47BF4EE6.40800@gmail.com>

Lennart Borgman (gmail) wrote:
>>
>> This one is correct. The functions mentioned return a list of nodes. 
>> In the case of xml-parse-region at least, there can be more than one 
>> node at the top level of the returned list.
>
> Thanks, I did not think of that case.

But it seems I was wrong. xml-parse-region throws an error if the region 
does not contain well-formed XML with a single top-level node. So 
although the functions all return a list, they all always return a list 
of one.





  reply	other threads:[~2008-02-22 23:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-22 20:44 Error in xml.el documentation Lennart Borgman (gmail)
2008-02-22 21:20 ` Lennart Borgman (gmail)
2008-02-22 22:30 ` Jason Rumney
2008-02-22 22:38   ` Lennart Borgman (gmail)
2008-02-22 23:07     ` Jason Rumney [this message]
2008-02-22 23:10       ` Lennart Borgman (gmail)
2008-02-23  1:18       ` Lennart Borgman (gmail)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47BF55B2.9090400@gnu.org \
    --to=jasonr@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).