You need to specify your parameter like this:
<rng:param name="minLength">3</rng:param>
The way you had it, you had <param>
, which was not in the Relax NG namespace and thus was ignored. Also, you had minlength
but the parameter name is minLength
with a capital 'L'.