fix reading of spellchecking element to match XSD

did before just work by accident as the general reading was broken and did not properly end at

BUG: 517428

Merge request reports

Loading