summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2010-10-28 09:51:22 (GMT)
committerDaniel Veillard <veillard@redhat.com>2010-10-28 09:51:22 (GMT)
commit8ad2930f623f0cc3af2d006a734b4e31d3f6b963 (patch)
treef19d1d0d1d9edadcd3cdf3010c4b0691743cfdff
parentea90b894146030c214a7df6d8375310174f134b9 (diff)
downloadlibxml2-8ad2930f623f0cc3af2d006a734b4e31d3f6b963.tar.gz
libxml2-8ad2930f623f0cc3af2d006a734b4e31d3f6b963.tar.xz
make sure htmlCtxtReset do reset the disableSAX field
As pointed out by Stefan Behnel <stefan_ml@behnel.de>
-rw-r--r--HTMLparser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/HTMLparser.c b/HTMLparser.c
index d51abe3..04bfbd4 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -6451,6 +6451,7 @@ htmlCtxtReset(htmlParserCtxtPtr ctxt)
ctxt->wellFormed = 1;
ctxt->nsWellFormed = 1;
+ ctxt->disableSAX = 0;
ctxt->valid = 1;
ctxt->vctxt.userData = ctxt;
ctxt->vctxt.error = xmlParserValidityError;