I’ve a number of XML files from a non-JUCE project I need to parse to eventually be ValueTrees. The final line of the below code gives me an EXC_BAD_INSTRUCTION error. Checking the file exists using existsAsFile and getFullPath both show me they’re correct. Here is the XML file causing me problems:
https://1drv.ms/f/s!AowcgVhEHioNgYxrrg3uH53FJYdjzw
File definition (directory.findChildFiles (File::TypesOfFileToFind::findFiles, true, "*.xml").getFirst());
XmlDocument myDocument (definition);
auto temp = myDocument.getDocumentElement();

