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

Free Support Forum - aspose.com

Comparing documents with changes around a table cause the table to be marked as deleted and re-added

I’ve attached two input documents and the output they produce on version 21.10.

The two tables are byte-for-byte identical: I constructed these documents by duplicating the XML. They are in the same relative position in the document, namely, after a paragraph whose only changes between the two documents are textual. However, when compared against each other, Aspose produces a document that first indicates an insertion of the entire table, and later a deletion of an identical table.

The expected result is instead to show any changes in the first paragraph, no changes at all regarding the table, and then a variety of changes to the following paragraphs.

left.docx (11.6 KB)
right.docx (11.6 KB)
diff.docx (10.3 KB)

@icsk,
We have tested the scenario and 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 - 22953. 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-22953) have been fixed in this Aspose.Words for Java 22.1 update.