diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-03-22 15:22:58 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-03-22 15:22:58 +0000 |
commit | 500a1de533e2ea03f452844f537bb247b7e43af2 (patch) | |
tree | 3672d5d2283a7dd73604defc41cbf643550774de /xmllint.c | |
parent | 2f07606d109eabf6e19431d9b9e907b604f1bc45 (diff) | |
download | libxml2-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |