Index: third_party/libxml/src/parser.c |
diff --git a/third_party/libxml/src/parser.c b/third_party/libxml/src/parser.c |
index 8017df90b38f11a141595e8e79e9bd6015f94bd5..e3f3fbd7a0caaa9904198ceff214b40b0201e791 100644 |
--- a/third_party/libxml/src/parser.c |
+++ b/third_party/libxml/src/parser.c |
@@ -8120,14 +8120,6 @@ xmlParsePEReference(xmlParserCtxtPtr ctxt) |
"PEReference: %%%s; not found\n", |
name); |
} else { |
- if ((entity->etype == XML_EXTERNAL_PARAMETER_ENTITY) && |
- ((ctxt->options & XML_PARSE_NOENT) == 0) && |
- ((ctxt->options & XML_PARSE_DTDVALID) == 0) && |
- ((ctxt->options & XML_PARSE_DTDLOAD) == 0) && |
- ((ctxt->options & XML_PARSE_DTDATTR) == 0) && |
- (ctxt->replaceEntities == 0) && |
- (ctxt->validate == 0)) |
- return; |
/* |
* [ VC: Entity Declared ] |
* In a document with an external subset or external |