Commit c2c0d142 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

another small patch from Mark Vadoc Daniel

* testHTML.c: another small patch from Mark Vadoc
Daniel
parent 87247e87
Tue Jan 13 21:50:05 CET 2004 Daniel Veillard <daniel@veillard.com>
* testHTML.c: another small patch from Mark Vadoc
Tue Jan 13 21:39:58 CET 2004 Daniel Veillard <daniel@veillard.com>
 
* HTMLparser.c relaxng.c testRelax.c testSchemas.c: applied
......
......@@ -709,6 +709,7 @@ parseAndPrintFile(char *filename) {
/*
* build an HTML tree from a string;
*/
#ifdef LIBXML_PUSH_ENABLED
if (push) {
FILE *f;
......@@ -736,6 +737,9 @@ parseAndPrintFile(char *filename) {
} else {
doc = htmlReadFile(filename, NULL, options);
}
#else
doc = htmlReadFile(filename,NULL,options);
#endif
if (doc == NULL) {
xmlGenericError(xmlGenericErrorContext,
"Could not parse %s\n", filename);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment