Added the ability to override the error message type display from a validatin failure by adding a *-err-type attribute to the element.