Arty
Well-known member
When importing style or any other XML document, controller uses this code
That code works fine for everything, but fails when content has entity
This is sample valid XML document that function fails on
Code:
$document = $this->getHelper('Xml')->getXmlFromFile($upload);
This is sample valid XML document that function fails on
Code:
<?xml version="1.0" encoding="utf-8"?>
<email title="Test" customizer-version="2">
<replacements>
<replacement var="footerBlock">test test</replacement>
</replacements>
</email>