Re: [xml] xmlPreviousElementSibling mistake
- From: Daniel Veillard <veillard redhat com>
- To: François Delyon <f delyon satimage fr>
- Cc: libxml <xml gnome org>
- Subject: Re: [xml] xmlPreviousElementSibling mistake
- Date: Wed, 3 Feb 2010 17:34:17 +0100
On Wed, Feb 03, 2010 at 03:45:58PM +0100, François Delyon wrote:
In tree.c 3530 (libxml2 2.7.6), the function
xmlPreviousElementSibling ends with:
while (node != NULL) {
if (node->type == XML_ELEMENT_NODE)
return(node);
node = node->next;
}
I suggest
node = node->prev;
Ah, right, good catch ! fix pushed,
thanks !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]