fixed another stupid bug in xmlGetNodePath() --version now report the

* tree.c: fixed another stupid bug in xmlGetNodePath()
* xmllint.c: --version now report the options compiled in
Daniel
diff --git a/tree.c b/tree.c
index faf33f7..7177ae6 100644
--- a/tree.c
+++ b/tree.c
@@ -3484,7 +3484,8 @@
              */
             tmp = cur->prev;
             while (tmp != NULL) {
-                if (xmlStrEqual(cur->name, tmp->name))
+                if ((tmp->type == XML_ELEMENT_NODE) &&
+		    (xmlStrEqual(cur->name, tmp->name)))
                     occur++;
                 tmp = tmp->prev;
             }