1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Bug #3733: xmlrpc-c / scheduler problems with big XML-Sets - switched from xmlParseMemory to xmlReadMemory; xmlReadMemory allows parameter XML_PARSE_HUGE which adds support for files >10MB

(cherry picked from commit b98a2cdc67c5330b0dbc6ba63e67e90fb956996d)
This commit is contained in:
gschmidt 2015-04-02 17:25:27 +02:00 committed by Ruben S. Montero
parent 7e6ac55b17
commit 04a97cc751

View File

@ -564,7 +564,7 @@ int ObjectXML::validate_xml(const string &xml_doc)
void ObjectXML::xml_parse(const string &xml_doc)
{
xml = xmlParseMemory (xml_doc.c_str(),xml_doc.length());
xml = xmlReadMemory (xml_doc.c_str(),xml_doc.length(),0,0,XML_PARSE_HUGE);
if (xml == 0)
{