Paragraph Level Comparison of Word Documents using Java | Compare & Avoid Delete Insert Revisions for Identical Paragraphs

Another wrong revision bug http://joxi.ru/VrwWW87C7LYPJr

Document doc = new Document("...\\test\\1.docx");
Document doc2 = new Document("...\\test\\2.docx");
doc.acceptAllRevisions();
doc2.acceptAllRevisions();
doc.compare(doc2, "test", new Date());
doc.save("...\\test\\3.docx");

test.zip (29.6 KB)

@vhostt,

We have managed to reproduce this issue on our end and logged it in our bug tracking system with ID WORDSNET-20906. 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-20906) have been fixed in this Aspose.Words for Java 22.11 update also available on Maven.