Fix #15. Now errors and warnings are displayed correctly when validating schema