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

Free Support Forum - aspose.com

Java Word Comparison not handling nunmbering well

Hi,
See the attached comparison of documents:
Services-Agreement-1.docx
Services-Agreement-2.docx

the numbering around 6.2© and 11.4 is not correct.
It was better using version 15.4 than it is with 17.4 - both outputs attached.
The main issue is that the first © and 11.4 is removed where it should not be. The output makes it look like the text is unnumbered with the numbering continuing in the next paragraph.

I don’t think there are any currently any options available to improve this output. I have tried using the new CompareOptions which allows formatting and/or header/footers to be ignored. We were doing this via our own code prior to this release. We were also ignoring changes to images.

Justin.

Hi Justin,

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

We apologize for your inconvenience.

Hi Justin,
justinlipton:
The main issue is that the first (c) and 11.4 is removed where it should not be. The output makes it look like the text is unnumbered with the numbering continuing in the next paragraph.
It would be great if you please share some detail about "unnumbered text". Please also share your expected output document here for our reference. We will investigate the issue on our side and provide you more information.

The issues you have found earlier (filed as WORDSJAVA-1533) have been fixed in this Aspose.Words for .NET 18.7 update and this Aspose.Words for Java 18.7 update.