1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-20 03:52:25 +03:00

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
This commit is contained in:
Daniel Veillard
2004-03-25 09:35:49 +00:00
parent 520f17ad9a
commit ebe25d4920
6 changed files with 41 additions and 30 deletions

View File

@@ -178,9 +178,9 @@ int main(int argc, char **argv) {
}
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"))) {