Compare Word DOCX Files with Comments using Java

When I compared 2 document, position of comment on surround words was broken.

Document doc = new Document("..\\test.docx");
Document doc2 = new Document("..\\test2.docx");
doc2.acceptAllRevisions();, "3", new Date());"..\\test3.docx");

I attached zip archive of test (47.5 KB)


We have also managed to reproduce this issue on our end and logged it with ID WORDSNET-22670. Your forum thread has been linked to this issue and you will be notified here as soon as it will get resolved in future. Sorry for the inconvenience.

The issues you have found earlier (filed as WORDSNET-22670) have been fixed in this Aspose.Words for Java 21.12 update.