applied patch from Mark Vadoc avoiding using xmlParse* option and use
* debugXML.c testXPath.c xmllint.c xmlschemastypes.c: applied
patch from Mark Vadoc avoiding using xmlParse* option and use
xmlRead* instead
* win32/Makefile.bcb: patch to Borland C++ builder from Eric Zurcher
to avoid problems with some pathnames.
Daniel
diff --git a/testXPath.c b/testXPath.c
index bdb7358..8086a81 100644
--- a/testXPath.c
+++ b/testXPath.c
@@ -178,9 +178,9 @@
}
if (document == NULL) {
if (filename == NULL)
- document = xmlParseDoc(buffer);
+ document = xmlReadDoc(buffer,NULL,NULL,0);
else
- document = xmlParseFile(filename);
+ document = xmlReadFile(filename,NULL,0);
}
for (i = 1; i < argc ; i++) {
if ((!strcmp(argv[i], "-i")) || (!strcmp(argv[i], "--input"))) {