Comments structure is not correct after generating document by LINQ Reporting using .NET Core

Hi,
Currently we are using comments to test the generated documents to ensure that there is no logic errors etc. This is done by looking at the comment and its text after generation. Then ensuring that the value inside of the comment is the one expected.

Here the tag name is commented to be able to extract its value.
image.png (5.9 KB)

This is fine as the generated text is inserted into the comment tag text.
image.png (14.0 KB)
However when a comment is in a for loop it no longer is wrapped around the text.
image.png (10.8 KB)

Please note that the comment is in effect empty.

Can it be fixed so that looped comments retain the content inputted but reporting?

CommentsTest.zip (106.6 KB)

Also can there please be a reporting tag for these posts?
I cant find the correct tag to place on this post.

Edit:
After more investigation, it appears that the reporting engine does correctly create new comments for each loop. However it fails to close the xml correctly.
All that is missing is the correct comment start and end blocks but the comments themselves are correctly duplicated with unique id’s.
image.png (26.4 KB)

@nross

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

We apologize for your inconvenience.

The issues you have found earlier have been fixed in this Aspose.Words for .NET 20.12 update and this Aspose.Words for Java 20.12 update.