Hello!
When comparing documents, sometimes, some text does not appear at all in the comparison result.
This can be reproduced by using the following documents:
doc1.docx (13.4 KB)
doc2.docx (13.8 KB)
In doc2 there are two paragraphs that are not in doc1. When comparing the two documents we would expect those paragraphs to show up as added/removed (depending on order), but they do not show up at all.
This code was run with GroupDocs.Comparison 25.9.0 in a .NET 9.0 console application on a Windows 11 machine:
using var comparer = new Comparer(loadPath1);
comparer.Add(loadPath2);
comparer.Compare(outputPath);
Comparing the documents with the online tool gives the same result.
@lars.olsson
It appears you are encountering an issue where some text is not appearing in the comparison results when using GroupDocs.Comparison. This can occur for several reasons, including differences in formatting or hidden text in the documents.
To troubleshoot this issue, please consider the following steps:
-
Check for Hidden Text: Verify that the paragraphs in doc2
are not marked as hidden or have any special formatting that might prevent them from being detected during the comparison.
-
Update GroupDocs.Comparison: Ensure you are using the latest version of GroupDocs.Comparison, as updates may include bug fixes and enhancements related to text detection.
-
Review Comparison Settings: Specific settings or options in the comparison process can impact the results. Review the available options in the documentation to ensure all text is being detected.
-
Test with Simplified Documents: Create simplified versions of your documents to isolate the issue. This can help determine if the problem is related to specific content or formatting.
If the issue persists, consider reaching out to GroupDocs support for further assistance, as they may provide insights specific to your documents and the comparison process.
Neither of the suggested solutions help in this case
The text is not hidden.
We are already running the latest version of GroupDocs.Comparison.
We have not supplied any comparison settings at all.
The document is already simplified.
The comparison also fails using the online tool
1 Like
@lars.olsson
This issue is reproduced at our end. Therefore, 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-4565
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