summaryrefslogtreecommitdiff
path: root/xmllint.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-03-22 15:22:58 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-03-22 15:22:58 +0000
commit500a1de533e2ea03f452844f537bb247b7e43af2 (patch)
tree3672d5d2283a7dd73604defc41cbf643550774de /xmllint.c
parent2f07606d109eabf6e19431d9b9e907b604f1bc45 (diff)
downloadlibxml2-500a1de533e2ea03f452844f537bb247b7e43af2.tar.gz
applied patch from Alfred Mickautsch for better DTD support. fixed bug
* xmlwriter.c include/libxml/xmlwriter.h doc/* : applied patch from Alfred Mickautsch for better DTD support. * SAX2.c HTMLparser.c parser.c xinclude.c xmllint.c xmlreader.c xmlschemas.c: fixed bug #137867 i.e. fixed properly the way reference counting is handled in the XML parser which had the side effect of removing a lot of hazardous cruft added to try to fix the problems associated as they popped up. * xmlIO.c: FILE * close fixup for stderr/stdout Daniel
Diffstat (limited to 'xmllint.c')
-rw-r--r--xmllint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmllint.c b/xmllint.c
index 5488dfd7..fd2eb8fd 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -874,6 +874,7 @@ static void parseAndPrintFile(char *filename, xmlParserCtxtPtr rectxt) {
if (res > 0) {
ctxt = xmlCreatePushParserCtxt(NULL, NULL,
chars, res, filename);
+ xmlCtxtUseOptions(ctxt, options);
while ((res = fread(chars, 1, size, f)) > 0) {
xmlParseChunk(ctxt, chars, res, 0);
}