|
From: | Lennart Borgman (gmail) |
Subject: | Re: Error in xml.el documentation |
Date: | Sat, 23 Feb 2008 00:10:01 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Jason Rumney wrote:
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.
Though is not that a bug? Why should not multiple top-level nodes be allowed in that case?
[Prev in Thread] | Current Thread | [Next in Thread] |