dgraham     2004/04/08 16:20:52

  Modified:    validator/conf/share validator_1_2_0.dtd
               validator/src/share/org/apache/commons/validator
                        digester-rules.xml
  Log:
  Removed deprecated <arg0-3> elements.
  
  Revision  Changes    Path
  1.5       +1 -95     jakarta-commons/validator/conf/share/validator_1_2_0.dtd
  
  Index: validator_1_2_0.dtd
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/conf/share/validator_1_2_0.dtd,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- validator_1_2_0.dtd       6 Apr 2004 22:19:58 -0000       1.4
  +++ validator_1_2_0.dtd       8 Apr 2004 23:20:52 -0000       1.5
  @@ -191,100 +191,6 @@
   <!ATTLIST arg resource CDATA #IMPLIED>
   <!ATTLIST arg position CDATA #IMPLIED>
   
  -
  -
  -<!--
  -
  -             DEPRECATED Use <arg position="0"/> instead.
  -
  -     The "arg0" element defines the first replacement value to use with the
  -     message template for this validator or this field.
  -     The arg0 element accepts these attributes.
  -
  -      name        The name of the validator corresponding to this msg.
  -
  -      key         The key that will return the message template from a
  -                  resource bundle.
  -
  -      resource    If set to "false", the key is taken to be a literal
  -                  value rather than a bundle key.
  -                  [true]
  --->
  -<!ELEMENT arg0 EMPTY>
  -<!ATTLIST arg0 name CDATA #IMPLIED>
  -<!ATTLIST arg0 key CDATA #IMPLIED>
  -<!ATTLIST arg0 resource CDATA #IMPLIED>
  -
  -
  -<!--
  -
  -             DEPRECATED Use <arg position="1"/> instead.
  -
  -     The "arg1" element defines the second replacement value to use with the
  -     message template for this validator or this field.
  -     The arg1 element accepts these attributes.
  -
  -      name        The name of the validator corresponding to this msg.
  -
  -      key         The key that will return the message template from a
  -                  resource bundle.
  -
  -      resource    If set to "false", the key is taken to be a literal
  -                  value rather than a bundle key.
  -                  [true]
  --->
  -<!ELEMENT arg1 EMPTY>
  -<!ATTLIST arg1 name CDATA #IMPLIED>
  -<!ATTLIST arg1 key CDATA #IMPLIED>
  -<!ATTLIST arg1 resource CDATA #IMPLIED>
  -
  -
  -<!--
  -
  -             DEPRECATED Use <arg position="2"/> instead.
  -
  -     The "arg2" element defines the third replacement value to use with the
  -     message template for this validator or this field.
  -     The arg2 element accepts these attributes.
  -
  -      name        The name of the validator corresponding to this msg.
  -
  -      key         The key that will return the message template from a
  -                  resource bundle.
  -
  -      resource    If set to "false", the key is taken to be a literal
  -                  value rather than a bundle key.
  -                  [true]
  --->
  -<!ELEMENT arg2 EMPTY>
  -<!ATTLIST arg2 name CDATA #IMPLIED>
  -<!ATTLIST arg2 key CDATA #IMPLIED>
  -<!ATTLIST arg2 resource CDATA #IMPLIED>
  -
  -
  -<!--
  -
  -             DEPRECATED Use <arg position="3"/> instead.
  -
  -     The "arg3" element defines the fourth replacement value to use with the
  -     message template for this validator or this field.
  -     The arg0 element accepts these attributes.
  -
  -      name        The name of the validator corresponding to this msg.
  -
  -      key         The key that will return the message template from a
  -                  resource bundle.
  -
  -      resource    If set to "false", the key is taken to be a literal
  -                  value rather than a bundle key.
  -                  [true]
  --->
  -<!ELEMENT arg3 EMPTY>
  -<!ATTLIST arg3 name CDATA #IMPLIED>
  -<!ATTLIST arg3 key CDATA #IMPLIED>
  -<!ATTLIST arg3 resource CDATA #IMPLIED>
  -
  -
   <!--
        The "var" element can set parameters that a field may need to pass to
        one of its validators, such as the minimum and maximum values in a
  
  
  
  1.5       +1 -23     
jakarta-commons/validator/src/share/org/apache/commons/validator/digester-rules.xml
  
  Index: digester-rules.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/validator/src/share/org/apache/commons/validator/digester-rules.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- digester-rules.xml        28 May 2003 04:14:32 -0000      1.4
  +++ digester-rules.xml        8 Apr 2004 23:20:52 -0000       1.5
  @@ -70,28 +70,6 @@
                                        <set-properties-rule/>
                                        <set-next-rule methodname="addArg" 
paramtype="org.apache.commons.validator.Arg" />
                                </pattern>
  -                             
  -                             <!-- The arg0, etc. elements are deprecated.  We can 
remove these definitions after 1.1 -->
  -                             <pattern value="arg0">
  -                                     <object-create-rule 
classname="org.apache.commons.validator.Arg" />
  -                                     <set-properties-rule/>
  -                                     <set-next-rule methodname="addArg0" 
paramtype="org.apache.commons.validator.Arg" />
  -                             </pattern>
  -                             <pattern value="arg1">
  -                                     <object-create-rule 
classname="org.apache.commons.validator.Arg" />
  -                                     <set-properties-rule/>
  -                                     <set-next-rule methodname="addArg1" 
paramtype="org.apache.commons.validator.Arg" />
  -                             </pattern>
  -                             <pattern value="arg2">
  -                                     <object-create-rule 
classname="org.apache.commons.validator.Arg" />
  -                                     <set-properties-rule/>
  -                                     <set-next-rule methodname="addArg2" 
paramtype="org.apache.commons.validator.Arg" />
  -                             </pattern>
  -                             <pattern value="arg3">
  -                                     <object-create-rule 
classname="org.apache.commons.validator.Arg" />
  -                                     <set-properties-rule/>
  -                                     <set-next-rule methodname="addArg3" 
paramtype="org.apache.commons.validator.Arg" />
  -                             </pattern>
                        
                        </pattern>      
                        
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to