XML_PARSE_HUGE not working
"Floodeenjr, Thomas" <[email protected]> Fri, 27 Mar 2020 22:48:11 +0000
| Newsgroups | gmane.comp.gnome.lib.xml.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, When using libxml2-2.7.8, we called xmlReadFile( filePath, NULL, XML_PARSE_HUGE ); in our code, and it worked fine. After upgrading to libxml2-2.9.9, this no longer works, the XML_PARSE_HUGE flag is not "remembered". However, if we hard-code ctxt->options |= XML_PARSE_HUGE; in the beginning of xmlCtxtUseOptionsInternal() in parser.c, then it works. Is there a trick to getting XML_PARSE_HUGE to work without modifying parser.c? Thanks, -Tom _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] https://mail.gnome.org/mailman/listinfo/xml