Source

xwork / src / test / com / opensymphony / xwork / test / SimpleAction2-validationAlias-validation.xml

Full commit
<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator 1.0//EN" "http://www.opensymphony.com/xwork/xwork-validator-1.0.dtd">
<validators>
    <field name="baz">
        <field-validator type="required">
            <message>You must enter a value for baz.</message>
        </field-validator>
        <field-validator type="int">
            <param name="min">2"</param>
            <param name="max">4"</param>
            <message>baz out of range.</message>
        </field-validator>
    </field>
</validators>