Java, version 22.5.
The following two documents differ only in that one has a w:docVars > w:docVar defined in settings.xml. Comparing them succeeds, but the resulting document has no docVars.
docvar.Docx (11.1 KB)
emp…...docx (11.1 KB) empty.docx (11.1 KB) Tracked...