No differences are detected in header when header contains field code

Hello!

We have two documents with some numbers in the header. Document 1 has “123” and document 2 has “456”. Both documents also have the same field code in the header.

Here are the documents:
113.docx (20.9 KB)
213.docx (20.9 KB)

The documents were compared by running the following code:

using var comparer = new Comparer(loadPath1);
comparer.Add(loadPath2);
comparer.Compare(outputPath);

The code was run with GroupDocs.Comparison 25.2.0 in a .NET 9.0 console application on a Windows 11 machine.

I would expect the comparison result to show the change in the header. The result instead shows no changes and the summary page says “SOURCE AND TARGET FILES ARE EQUAL”.

The online tool gives the same result.

@lars.olsson
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): COMPARISONNET-4339

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.

1 Like