We have a source .docx file that we save first as a working .docx file, then we save this working .docx as final .docm file. Unfortunatly, the final .docm cannot be opened by MS Word (“Xml parsing error”).
The same process (.docx saved as .docx saved as .docm) using MS Word results in a valid final .docm file.
- Aspose.Words 22.1 (in fact since Aspose.Words 21.10, and it’s working fine using Aspose.Words 21.9)
- Simple code used and input/output files are in attached zip archive.
files.zip (53.4 KB)