Well formedness and spelling