GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 5f8d1a35 authored by Daniel Veillard's avatar Daniel Veillard

validity status was not passed back when validating in entities, but

* parser.c: validity status was not passed back when validating in
  entities, but raised by Oliver Fischer
Daniel
parent aec63569
Sun Mar 23 22:00:14 CET 2003 Daniel Veillard <daniel@veillard.com>
* parser.c: validity status was not passed back when validating in
entities, but raised by Oliver Fischer
Sun Mar 23 21:30:50 CET 2003 Daniel Veillard <daniel@veillard.com>
* HTMLtree.c: avoid escaping ',' in URIs
......
......@@ -9603,6 +9603,7 @@ xmlParseCtxtExternalEntity(xmlParserCtxtPtr ctx, const xmlChar *URL,
*/
ctxt->instate = XML_PARSER_CONTENT;
ctxt->validate = ctx->validate;
ctxt->valid = ctx->valid;
ctxt->loadsubset = ctx->loadsubset;
ctxt->depth = ctx->depth + 1;
ctxt->replaceEntities = ctx->replaceEntities;
......@@ -9620,6 +9621,8 @@ xmlParseCtxtExternalEntity(xmlParserCtxtPtr ctx, const xmlChar *URL,
xmlParseContent(ctxt);
ctx->validate = ctxt->validate;
ctx->valid = ctxt->valid;
if ((RAW == '<') && (NXT(1) == '/')) {
ctxt->errNo = XML_ERR_NOT_WELL_BALANCED;
if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment