Document doc = new Document("...\\s1.docx");
Document doc2 = new Document("...\\s2.docx");
doc.compare(doc2, "test", new Date());
Problem with wrong revisions
zip archive contains test documents.test.zip (28.9 KB)
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.
The issues you have found earlier (filed as WORDSNET-20449) have been fixed in this Aspose.Words for Java 22.3 update.