Fix a regression in streaming entities support

* parser.c: fix a regression in entity parsing when using the reader
  introduced because we were not reusing _private on entities parsing
  context
diff --git a/ChangeLog b/ChangeLog
index 790fe5e..36045e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Fri Jul 10 16:11:34 CEST 2009 Daniel Veillard <daniel@veillard.com>
+
+	* parser.c: fix a regression in entity parsing when using the reader
+	  introduced because we were not reusing _private on entities parsing
+	  context
+
 Thu Jul  9 10:21:00 CEST 2009 Daniel Veillard <daniel@veillard.com>
 
 	Aleksey Sanin support for c14n 1.1
diff --git a/parser.c b/parser.c
index 4ee9b43..a476060 100644
--- a/parser.c
+++ b/parser.c
@@ -13125,8 +13125,9 @@
 	return(NULL);
     }
 
-	if (pctx != NULL) {
-		ctxt->options = pctx->options;
+    if (pctx != NULL) {
+        ctxt->options = pctx->options;
+        ctxt->_private = pctx->_private;
     }
 
     uri = xmlBuildURI(URL, base);