Merge pull request #1844 from smhdfdl/multiple-validation-failures-and-validation-messages

After PR 1837, fix crash where simple type with sub-schema has a bad value