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/
[email protected] | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml