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/valid.c b/valid.c
index 0efa3c6..7ee20a0 100644
--- a/valid.c
+++ b/valid.c
@@ -74,7 +74,7 @@
break;
default:
fprintf(stderr, "xmlNewElementContent: unknown type %d\n", type);
- exit(1);
+ return(NULL);
}
ret = (xmlElementContentPtr) xmlMalloc(sizeof(xmlElementContent));
if (ret == NULL) {