validate message minimum-string and maximum-string

https://issues.apache.org/jira/browse/TAP5-1958 validate should fix