Relax-NG validation fails when defining maxlength for string

With Relax-NG, you can define a maximum length for strings, ex:

<element name="identifier">
<data type="string">
<param name="maxLength">30</param>
</data>
</element>

Be careful, attribute name is maxLength and not maxlength (do not foget to capitalize letter “L”).

Post a Comment

Your email is never published nor shared. You're allow to say what you want...