Seems there is still bugs hiding, someone has some flytox ?
- Makefile.am: Martin Baulig suggested to add -lm
- tree.c: found another bug in xmlNodeGetContent()
Daniel
diff --git a/tree.c b/tree.c
index a33658e..709fe22 100644
--- a/tree.c
+++ b/tree.c
@@ -3208,6 +3208,9 @@
 			continue;
 		    }
 		}
+		if (tmp == cur)
+		    break;
+
 		if (tmp->next != NULL) {
 		    tmp = tmp->next;
 		    continue;
@@ -3217,7 +3220,7 @@
 		    tmp = tmp->parent;
 		    if (tmp == NULL)
 			break;
-		    if (tmp == (xmlNodePtr) cur) {
+		    if (tmp == cur) {
 			tmp = NULL;
 			break;
 		    }