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

Free Support Forum - aspose.com

Document.Compare generates incorrect revisions using Java

Test code

Document doc = new Document("...\\s1.docx");
Document doc2 = new Document("...\\s2.docx");
doc.acceptAllRevisions();
doc2.acceptAllRevisions();
doc.compare(doc2, "test", new Date());
doc.save("..\\out.docx");

Problem with wrong revisions http://joxi.ru/Dr8WWyJCobkZBA
zip archive contains test documents.test.zip (28.9 KB)

@rkisin

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-20449 . You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.