[xml] xmlPreviousElementSibling mistake
- From: François Delyon <f delyon satimage fr>
- To: libxml <xml gnome org>
- Subject: [xml] xmlPreviousElementSibling mistake
- Date: Wed, 3 Feb 2010 15:45:58 +0100
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;
François.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]