Aspose Compare and Word Compare give me different results

I am working on a tool that compares Word Documents and returns all the differences between them. When I compare two similar Documents with Grids your compare function gives me 72 Revisions (all FORMAT_CHANGE type). When I compare the two documents on Word I get no Revisions. (46.0 KB)
The zip above has the documents I’m comparing. The code I use is simple:

  • load the two docs
  • Check the number of Revisions and display them using revision.getParentNode().getText().

I’m using Aspose Words v17.11 in Java.

Also, can you please tell me if there is a better way to compare two documents or at least get more information on the differences between the documents?

Best regards,
Hugo Freixo

1 Like


Thanks for your inquiry. 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-16215. You will be notified via this forum thread once this issue is resolved. We apologize for your inconvenience.

Could you please share the Java version that you are using at your end? Thanks for your cooperation.

The issues you have found earlier (filed as WORDSNET-16215) have been fixed in this Aspose.Words for .NET 18.1 update and this Aspose.Words for Java 18.1 update.
Please also check the following articles: