Make schema validation errors warnings

Redundant `begin` block detected.