Most validators should not validate null input, because that condition is validated with NotNull. LengthValidator assumes a length of 0 for null, breaking the convention.
I think LengthValidator should return true for null inputs.
Comments: Thanks for the suggestion. I need to have a think about the implications for changing this, as it would be a breaking change. Jeremy
I think LengthValidator should return true for null inputs.
Comments: Thanks for the suggestion. I need to have a think about the implications for changing this, as it would be a breaking change. Jeremy