We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f854f3d commit feeb1eeCopy full SHA for feeb1ee
parser.c
@@ -7699,6 +7699,14 @@ xmlParsePEReference(xmlParserCtxtPtr ctxt)
7699
if (xmlPushInput(ctxt, input) < 0)
7700
return;
7701
} else {
7702
+ if ((entity->etype == XML_EXTERNAL_PARAMETER_ENTITY) &&
7703
+ ((ctxt->options & XML_PARSE_NOENT) == 0) &&
7704
+ ((ctxt->options & XML_PARSE_DTDVALID) == 0) &&
7705
+ ((ctxt->options & XML_PARSE_DTDLOAD) == 0) &&
7706
+ ((ctxt->options & XML_PARSE_DTDATTR) == 0) &&
7707
+ (ctxt->replaceEntities == 0) &&
7708
+ (ctxt->validate == 0))
7709
+ return;
7710
/*
7711
* TODO !!!
7712
* handle the extra spaces added before and after
0 commit comments