Hello,
We have a bug using mergeDocx function (v3.5/3.6).
Our first docx file has no footnotes.xml or endnotes.xml, our second docx file has only footnotes.xml
It result by this loadXML error :
Message: DOMDocument::loadXML(): Empty string supplied as input
Filename: classes/DocxUtilities.inc
Line Number: 979
First, we have identified a bug line 592/593 (v3.6)
if($this->checkData($this->_secondDocxStructuralData['footnotes']) > 0 ||
$this->checkData($this->_secondDocxStructuralData['footnotes']) > 0 )
Then, there is no check that endnotes.xml exist in the second file and the function load it line 664.
Thanks for your help.
Grégory