Oops, it seems I forgot to commit 1.8.4 changes
- restored xmlNewGlobalNs since this seems used
- fixed a problem with INCLUDE_WINSOCK
- removed all calls to exit() from the library code.
- removed bugs detected by Windows compilers
- started adding interfaces for parsing well balanced XML fragments
- releasing 1.8.4
- rebuilt the docs
Daniel
diff --git a/xpath.c b/xpath.c
index 4882b04..7f2a589 100644
--- a/xpath.c
+++ b/xpath.c
@@ -186,7 +186,7 @@
 	             ctxt->name##Max * sizeof(ctxt->name##Tab[0]));	\
         if (ctxt->name##Tab == NULL) {					\
 	    fprintf(xmlXPathDebug, "realloc failed !\n");		\
-	    exit(1);							\
+	    return(0);							\
 	}								\
     }									\
     ctxt->name##Tab[ctxt->name##Nr] = value;				\
@@ -1218,11 +1218,6 @@
 		    break;
 	    }
 	    break;
-#ifdef DEBUG_EXPR
-	    fprintf(xmlXPathDebug, "Equal: %s string %s \n",
-	            arg1->stringval, arg2->stringval);
-#endif
-	    ret = !xmlStrcmp(arg1->stringval, arg2->stringval);
     }
     xmlXPathFreeObject(arg1);
     xmlXPathFreeObject(arg2);