mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
integrated in "make tests" added -q option, and more conditional features
* Makefile.am gentest.py testapi.c: integrated in "make tests" added -q option, and more conditional features fixes * catalog.c debugXML.c parser.c testThreads.c xmllint.c xmlschemastypes.c xmlwriter.cinclude/libxml/catalog.h include/libxml/debugXML.h: various compilation and conditional cleanups. * doc/*: regenerated Daniel
This commit is contained in:
@ -64,10 +64,10 @@ main(int argc, char **argv)
|
||||
LIBXML_TEST_VERSION
|
||||
|
||||
/*parse the file and get the DOM */
|
||||
doc = xmlParseFile(argv[1]);
|
||||
doc = xmlReadFile(argv[1], NULL, 0);
|
||||
|
||||
if (doc == NULL) {
|
||||
printf("error: could not parse file file.xml\n");
|
||||
printf("error: could not parse file %s\n", argv[1]);
|
||||
}
|
||||
|
||||
/*Get the root element node */
|
||||
|
Reference in New Issue
Block a user