]> granicus.if.org Git - php/commitdiff
- Fix merge
authorFelipe Pena <felipensp@gmail.com>
Mon, 16 Feb 2015 15:09:40 +0000 (13:09 -0200)
committerFelipe Pena <felipensp@gmail.com>
Mon, 16 Feb 2015 15:09:40 +0000 (13:09 -0200)
ext/soap/php_xml.c

index 8a61efb2d2d82e9c149a554cde0a2b78a4768965..6eb92c63f83a513ac3b326510fc792e8ed93bdc7 100644 (file)
@@ -100,6 +100,9 @@ xmlDocPtr soap_xmlParseFile(const char *filename TSRMLS_DC)
                ctxt->sax->warning = NULL;
                ctxt->sax->error = NULL;
                /*ctxt->sax->fatalError = NULL;*/
+#if LIBXML_VERSION >= 20703
+               ctxt->options |= XML_PARSE_HUGE;
+#endif
                old = php_libxml_disable_entity_loader(1 TSRMLS_CC);
                xmlParseDocument(ctxt);
                php_libxml_disable_entity_loader(old TSRMLS_CC);