We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Compare two Word documents ends in a corrupted document


My team is using the compare Word documents function from aspose, but we found that with certain documents the compare function corrupt the result document, here are the details:

Java version: 1.7
Aspose.Words Version: 18.1 and we tested also with 18.5

Inside AsposeIssue.Zip you will find two documents we want to compare: Add Attachments (version 3) and Add Attachments (version 2), also you will find the code we run to do the compare: AsposeWordComparator and finally the result document that is corrupted: corrupted.docx
AsposeIssue.zip (40.5 KB)

Thanks for your support, I hope this information could help to find the issue.


Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-16917. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-16917) have been fixed in this Aspose.Words for .NET 18.7 update and this Aspose.Words for Java 18.7 update.