Include attribute name in error message for too long string value