<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN" "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
<form-validation >
  <formset>
    <form name="loginForm">
      <field property="userName" depends="minlength">
        <arg0 key="username"/>
        <arg1 key="${var:minlength}" name="minlength" resource="false"/>
        <var>
          <var-name>minlength</var-name>
          <var-value>6</var-value>
        </var>
      </field>
    </form>
  </formset>
</form-validation >
