[libxml2] make sure htmlCtxtReset do reset the disableSAX field



commit 8ad2930f623f0cc3af2d006a734b4e31d3f6b963
Author: Daniel Veillard <veillard redhat com>
Date:   Thu Oct 28 11:51:22 2010 +0200

    make sure htmlCtxtReset do reset the disableSAX field
    
    As pointed out by Stefan Behnel <stefan_ml behnel de>

 HTMLparser.c |    1 +
 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]