Comment is duplicated during comparison

I have a document with two lines of text, and one of the lines has a comment range over it. When I switch the order of the lines in the document and compare with the original, the comment is duplicated. If I accept all changes in the comparison, I end up with two comments. This does not match the behavior of the Word comparison tool.

Here are my two input documents to the comparison:
before: before.docx (15.3 KB)
after: after.docx (14.6 KB)

and the output of the comparison: diff.docx (13.4 KB)

Tested on Aspose 23.1 for Java.

Tracked internally as 17251.

@epaulet-society

I was able to replicate this issue and seems like a bug. I will contact the development team to research this issue and give us more information. I will give you more information as soon as possible,

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-24878

You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as WORDSNET-24878) have been fixed in this Aspose.Words for Java 23.12 update.