Add support for error-message= attribute in value and name constraints.