[libxml2] Fix a regression in streaming entities support
- From: Daniel Veillard <veillard src gnome org>
- To: svn-commits-list gnome org
- Subject: [libxml2] Fix a regression in streaming entities support
- Date: Fri, 10 Jul 2009 14:13:45 +0000 (UTC)
commit 48247b4fc42ae4503e5ea0af89beb1ba1eb75928
Author: Daniel Veillard <veillard redhat com>
Date: Fri Jul 10 16:12:46 2009 +0200
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
ChangeLog | 6 ++++++
parser.c | 5 +++--
2 files changed, 9 insertions(+), 2 deletions(-)
---
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 @@ xmlCreateEntityParserCtxtInternal(const xmlChar *URL, const xmlChar *ID,
return(NULL);
}
- if (pctx != NULL) {
- ctxt->options = pctx->options;
+ if (pctx != NULL) {
+ ctxt->options = pctx->options;
+ ctxt->_private = pctx->_private;
}
uri = xmlBuildURI(URL, base);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]