~ubuntu-branches/ubuntu/hardy/libcommons-validator-java/hardy

« back to all changes in this revision

Viewing changes to src/test/org/apache/commons/validator/validator-multiple-config-1.xml

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2004-11-19 13:35:53 UTC
  • Revision ID: james.westby@ubuntu.com-20041119133553-qtl7whjkjv9q1rbd
Tags: upstream-1.3
ImportĀ upstreamĀ versionĀ 1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE form-validation PUBLIC
 
2
     "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
 
3
     "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
 
4
     
 
5
<!--
 
6
        This first config file only contains the validator definitions.  This 
 
7
        separation is how Struts does things.
 
8
-->
 
9
<form-validation>
 
10
   <global>
 
11
      <validator name="int"
 
12
                 classname="org.apache.commons.validator.TestValidator"
 
13
                 method="validateInt"
 
14
                 methodParams="java.lang.Object,org.apache.commons.validator.Field"
 
15
                 msg=""/>
 
16
                 
 
17
      <validator name="required"
 
18
                 classname="org.apache.commons.validator.TestValidator"
 
19
                 method="validateRequired"
 
20
                 methodParams="java.lang.Object,org.apache.commons.validator.Field"
 
21
                 msg=""/>
 
22
   </global>  
 
23
</form-validation>