XLSX: a change in letter case only is not marked at DetalisationLevel.LOW (26.11)

Comparison for Java 26.11, XLSX, plain text cells.

CompareOptions options = new CompareOptions();
options.setDetalisationLevel(DetalisationLevel.LOW);
options.setWordsSeparatorChars(new char[] {' ', '\n', '\r', '\t', '\u00A0', '\u001F'});
options.setSensitivityOfComparison(90);
Older Newer Result
Draft DRAFT Draft, not marked
RQ-3 rq-3 RQ-3, not marked
Pump stops at max pressure Pump stops at MAX pressure older text, not marked
Export Bulk export to cloud Bulk Export to cloud: insertions marked, but Export keeps the older case, so the result matches neither version

The same happens with DetalisationLevel.MIDDLE. DetalisationLevel.HIGH marks the case changes, but character by character (D[raft]RAFT), which splits IDs and numbers apart. DOCX comparison marks the same edits correctly.

Expected: a word whose letter case changed is marked as deleted and inserted, e.g. [Draft]DRAFT, and the result shows the newer text.

Is there an option for case-sensitive comparison at the word levels?

hi @ristomattip ,
Thank you for contacting us.
We were able to reproduce the described behavior with Excel files. With DetalisationLevel.Low words are compared with OrdinalIgnoreCase, so Draft and DRAFT are equal and nothing is marked. With DetalisationLevel.High, the comparison also works as expected, performing character-by-character comparison as described in the documentation GroupDocs.Comparison for Java API Reference.
We’re currently investigating the behavior with DetalisationLevel.Middle and will come back later with another response.

You also mentioned that the comparison works correctly with DOCX files. Could you please share the DOCX files you used for testing so we can investigate this as well? And please clarify with which DetalisationLevel did you get correct comparison results for DOCX fles?