Source

xwork / src / test / com / opensymphony / xwork / TestBean-visitorValidation-validation.xml

Full commit
1
2
3
4
5
6
7
8
9
<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0//EN" "http://www.opensymphony.com/xwork/xwork-validator-1.0.dtd">
<validators>
    <field name="birth">
        <field-validator type="date">
            <param name="min">01/01/1970</param>
            <message>You must have been born after 1970.</message>
        </field-validator>
    </field>
</validators>