Hi!
I’m trying to parse a 88 MB XML file.
Always returns NULL with:
xml = XmlDocument::parse (file);
Tracing into JUCE:
In: XmlElement* XmlDocument::getDocumentElement (const bool onlyReadOuterDocumentElement)
(...)
if (input.getAddress() != nullptr)
{
ScopedPointer <XmlElement> result (readNextElement (! onlyReadOuterDocumentElement));
if (! errorOccurred)
return result.release();
}
else
{
lastError = "incorrect xml header";
}
(...)
errorOccurred = “unmatched tags”
I think the problem is String can’t hold the 88MB…
What’s the maximun number characters in String (UTF-8)?
Thank in advance.