fixed bug 124061 (problem with namespace eval)

* xpath.c: fixed bug 124061 (problem with namespace eval)
diff --git a/xpath.c b/xpath.c
index 605b588..8008491 100644
--- a/xpath.c
+++ b/xpath.c
@@ -5758,6 +5758,8 @@
         cur = ctxt->context->node;
         if (cur == NULL)
             return (NULL);
+	if (cur->type == XML_NAMESPACE_DECL)
+	    cur = (xmlNodePtr)((xmlNsPtr)cur)->next;
         ctxt->ancestor = cur->parent;
     }
     if ((cur->prev != NULL) && (cur->prev->type == XML_DTD_NODE))