Skip to content
Browse files

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
  • Loading branch information...
1 parent 175beba commit 48247b4fc42ae4503e5ea0af89beb1ba1eb75928 @veillard veillard committed Jul 10, 2009
Showing with 9 additions and 2 deletions.
  1. +6 −0 ChangeLog
  2. +3 −2 parser.c
View
6 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
View
5 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);

0 comments on commit 48247b4

Please sign in to comment.
Something went wrong with that request. Please try again.