I have a particular document containing a rectangle-shape which results in a corrupt docx document when saving.
Used Aspose Words for Java version 17.6
Example code:
doc = Document('521688.docx')
doc.save('521688-saved.docx')
When I try to open 521688-saved.docx
with Microsoft Word, the document cannot be opened and the following error is shown:
521688-saved.docx could not be opened
Details:
Undeclared prefix.
Location: /word/document.xml, line: 1, column: 3040
521688.zip (26.3 KB)