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:
@@ -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"))) {
|
||||
|
Reference in New Issue
Block a user