Adding a new set of APIs based on the C# TextXmlReader API but converted
* Makefile.am xmlreader.c include/libxml/Makefile.am
include/libxml/xmlreader.h: Adding a new set of APIs based on
the C# TextXmlReader API but converted to C. Allow to parse
in constant memory usage, far simpler to program and explain
than the SAX like APIs, unfinished but working.
* testReader.c: test program
Daniel
diff --git a/parser.c b/parser.c
index d281a7c..864f693 100644
--- a/parser.c
+++ b/parser.c
@@ -9871,6 +9871,7 @@
oldsax = ctxt->sax;
ctxt->sax = oldctxt->sax;
+ ctxt->_private = oldctxt->_private;
if (oldctxt->myDoc == NULL) {
newDoc = xmlNewDoc(BAD_CAST "1.0");
if (newDoc == NULL) {