Page 1 of 1

CustomXmlDataStoragePart Error

PostPosted: Wed Aug 16, 2017 8:37 pm
by ramrony
While executing the docx file and the xml file with docx4j returning error as "Couldn't find CustomXmlDataStoragePart! exiting".
The docx file contains conditional content control.
The docx file and the xml file is attached. Please check the files.
Thanks,
Rony

Re: CustomXmlDataStoragePart Error

PostPosted: Thu Aug 17, 2017 2:13 pm
by jason
Your conditions part contains <condition xmlns="" id="c1675">. That's a wrong namespace!

Similarly your xpaths part: <xpath xmlns="" id="x1675">

Before fixing those, ContentControlsInfoStructure reports an error.

After fixing them (see A2 attached), all good.