Comparing document moves bookmarks to incorrect location

While comparing document, if there are changes right before or after bookmarkStart/bookmarkEnd, the bookmark marker is moved to incorrect location after the comparison.

The attached are an example of this behavior. I’ve included base, revised, asposeDiff and wordDiff to show the difference and expected behavior.

Produced from Aspose 22.9

Tracked internally by us as 12265

wrognBookmarkDiff.zip (40.4 KB)

@epaulet-society Thank you for reporting the problem to us. For a sake of correction it has been logged as WORDSNET-24388. We will keep you informed and let you know once it is resolved.

The issues you have found earlier (filed as WORDSNET-24388) have been fixed in this Aspose.Words for .NET 23.8 update also available on NuGet.