Commit 5a30b2d1 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

some flags were not passed down correctly as parsing options. Fixes

* xmllint.c: some flags were not passed down correctly as
  parsing options. Fixes #126806
Daniel
parent e74d2e1c
Tue Dec 9 14:52:59 CET 2003 Daniel Veillard <daniel@veillard.com>
* xmllint.c: some flags were not passed down correctly as
parsing options. Fixes #126806
Tue Dec 9 12:29:26 CET 2003 Daniel Veillard <daniel@veillard.com>
 
* xinclude.c xmllint.c xmlreader.c include/libxml/xinclude.h
......
......@@ -1611,16 +1611,19 @@ main(int argc, char **argv) {
(!strcmp(argv[i], "--postvalid"))) {
postvalid++;
loaddtd++;
options |= XML_PARSE_DTDLOAD;
} else if ((!strcmp(argv[i], "-dtdvalid")) ||
(!strcmp(argv[i], "--dtdvalid"))) {
i++;
dtdvalid = argv[i];
loaddtd++;
options |= XML_PARSE_DTDLOAD;
} else if ((!strcmp(argv[i], "-dtdvalidfpi")) ||
(!strcmp(argv[i], "--dtdvalidfpi"))) {
i++;
dtdvalidfpi = argv[i];
loaddtd++;
options |= XML_PARSE_DTDLOAD;
}
#endif /* LIBXML_VALID_ENABLED */
else if ((!strcmp(argv[i], "-dropdtd")) ||
......
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