Comparing files throw an exception

Dear Sir or Madam,

An exception is thrown when I try to compare two files. The code is as simple as:

Document d1 = new Document(@"c:\Code\Aspose\ConsoleApp1\1.docx");
Document d2 = new Document(@"c:\Code\Aspose\ConsoleApp1\2.docx");
d1.Compare(d2, "Alex", DateTime.Now);

Could you please let me know if there’s a workaround for this issue, or if not can you please point out what exactly in the documents make Aspose to fail?

Regards,
Alex
ConsoleApp1.zip (612.9 KB)

@AlexanderNovickov The problem is not reproducible using the latest 23.10 version of Aspose.Words. Please try using the latest version and let us know if the problem still persist on your side.

Hi Alexey, could you provide a temporary license? Or do I need to get in touch with your sales department?

Regards,
Alex

@AlexanderNovickov Your can request a free 30-days temporary license as described here:
https://purchase.aspose.com/temporary-license/

And one last question, are their any major/breaking changes between 23.01 and 23.10?
Thank you once again
Alex

@AlexanderNovickov No, there are no major/breaking changes between 23.01 and 23.10. You can find list of changes in our release notes:
https://releases.aspose.com/words/net/release-notes/

Thank you, Alexey. I tired to upgrade and it looks like ChildNodes property is missing in Table, CompositeNode, Body - pretty much everywhere. What is the substitution? GetCHildNodes?

Regards,
Alex

@AlexanderNovickov You should use CompositeNode.GetChildNodes(NodeType.Any, false) method instead of CompositeNode.ChildNodes property.