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

Free Support Forum - aspose.com

File Comparison Fails

Aspose.Words Java 19.2 Evaluation Version (on OSX)

  1. Use Aspose to create document and write to file.
  2. Use file system to rename the newly created document
  3. Use the same code to create the document again as in step (1)
  4. Read both files from disk into different Document objects and compare them using Document.compare
  5. There are two revisions (an insertion and a deletion) in the comparison. It appears that the text “Shape X.X.X.X” (where X are various integer values) is being deleted and inserted suggesting it is different in the two documents although the feature names are obfuscated in the debugger so I can’t tell for sure.

Are these differences cause by the evaluation watermarks?

@neallester

Thanks for your inquiry. In case you are using Aspose.Words without license, we suggest you please get the temporary license and apply it.

If you still face problem, please attach the following resources here for testing:

  • Your input Word documents.
  • Please attach the output Word file that shows the undesired behavior.
  • Please create a simple java application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.