rleland 2002/11/14 12:33:13
Modified: conf/share validation_1_1.dtd validator-rules_1_1.dtd
Log:
Take James Holmes Suggestion of
DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED
DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED
To indicate to use the commons-validator DTD
One, or Two steps further.
Revision Changes Path
1.5 +32 -3 jakarta-struts/conf/share/validation_1_1.dtd
Index: validation_1_1.dtd
===================================================================
RCS file: /home/cvs/jakarta-struts/conf/share/validation_1_1.dtd,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- validation_1_1.dtd 14 Nov 2002 20:06:37 -0000 1.4
+++ validation_1_1.dtd 14 Nov 2002 20:33:13 -0000 1.5
@@ -1,5 +1,6 @@
<!--
- Deprecated ** deprecated ** deprecated ** deprecated ** deprecated **
deprecated
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
Refer to the below DTD Instead:
@@ -13,7 +14,9 @@
<!--
- The "form-validation" element is the root of the configuration file
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ The "form-validation" element is the root of the configuration file
hierarchy, and contains nested elements for all of the other
configuration settings.
-->
@@ -21,12 +24,16 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
Global "constants" may be defined for use of other elements.
-->
<!ELEMENT global (constant*)>
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "constant" element defines a static value that can be used as
replacement parameters within "field" elements. The "constant-name" and
"constant-value" elements define the constant's reference id and
@@ -38,6 +45,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "formset" element defines a set of forms for a locale. Formsets for
specific locales can override only those fields that change. The
localization is properly scoped, so that a formset can override just the
@@ -49,6 +58,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "form" element defines a set of fields to be validated. The name
corresponds to the identifer the application assigns to the form. In the
case of the Struts framework, this is the attribute property from
@@ -60,6 +71,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "field" element defines the properties to be validated. In a
web application, a field would also correspond to a control on
a HTML form. To validate the properties, the validator works through
@@ -97,6 +110,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "msg" element defines a custom message key to use when one of the
validators for this field fails. Each validator has a default message
property that is used when a corresonding field msg is not specified.
@@ -119,6 +134,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "arg0" element defines the first replacement value to use with the
message template for this validator or this field.
The arg0 element accepts up to three attributes.
@@ -139,6 +156,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "arg1" element defines the second replacement value to use with the
message template for this validator or this field.
The arg1 element accepts up to three attributes.
@@ -159,6 +178,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "arg2" element defines the third replacement value to use with the
message template for this validator or this field.
The arg2 element accepts up to three attributes.
@@ -178,6 +199,8 @@
resource CDATA #IMPLIED >
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "arg3" element defines the fourth replacement value to use with the
message template for this validator or this field.
The arg0 element accepts up to three attributes.
@@ -198,6 +221,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
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
range validation. These parameters may also be referenced by one of the
@@ -208,6 +233,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The name of the var parameter to provide to a field's validators.
-->
<!ELEMENT var-name (#PCDATA)>
@@ -215,6 +242,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The value of the var parameter to provide to a field's validators.
-->
<!ELEMENT var-value (#PCDATA)>
1.6 +35 -2 jakarta-struts/conf/share/validator-rules_1_1.dtd
Index: validator-rules_1_1.dtd
===================================================================
RCS file: /home/cvs/jakarta-struts/conf/share/validator-rules_1_1.dtd,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- validator-rules_1_1.dtd 14 Nov 2002 20:06:37 -0000 1.5
+++ validator-rules_1_1.dtd 14 Nov 2002 20:33:13 -0000 1.6
@@ -1,5 +1,6 @@
<!--
- Deprecated ** deprecated ** deprecated ** deprecated ** deprecated **
deprecated
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
Refer to the below DTD Instead:
@@ -16,6 +17,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "form-validation" element is the root of the configuration file
hierarchy, and contains nested elements for all of the other
configuration settings.
@@ -24,6 +27,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The elements defined here are all global and must be nested within a
"global" element.
-->
@@ -31,6 +36,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "validator" element defines what validators objects can be used with
the fields referenced by the formset elements. The validator element can
accept 4 properties: name, classname, method, methodparams, msg, depends,
@@ -47,6 +54,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "javascript" element defines a JavaScript that can be used to perform
client-side validators.
-->
@@ -54,6 +63,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "constant" element defines a static value that can be used as
replacement parameters within "field" elements. The "constant-name" and
"constant-value" elements define the constant's reference id and replacement
@@ -65,6 +76,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "formset" element defines a set of forms for a locale. Formsets for
specific locales can override only those fields that change. The
localization is properly scoped, so that a formset can override just the
@@ -76,6 +89,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "form" element defines a set of fields to be validated. The name
corresponds to the identifer the application assigns to the form. In the
case of the Struts framework, this is the attribute property from
@@ -87,6 +102,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "field" element defines the properties to be validated. In a
web application, a field would also correspond to a control on
a HTML form. To validate the properties, the validator works through
@@ -124,6 +141,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "msg" element defines a custom message key to use when one of the
validators for this field fails. Each validator has a default message
property that is used when a corresonding field msg is not specified.
@@ -146,6 +165,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "arg0" element defines the first replacement value to use with the
message template for this validator or this field.
The arg0 element accepts up to three attributes.
@@ -166,6 +187,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "arg1" element defines the second replacement value to use with the
message template for this validator or this field.
The arg1 element accepts up to three attributes.
@@ -186,6 +209,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "arg2" element defines the third replacement value to use with the
message template for this validator or this field.
The arg2 element accepts up to three attributes.
@@ -205,6 +230,8 @@
resource CDATA #IMPLIED >
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The "arg3" element defines the fourth replacement value to use with the
message template for this validator or this field.
The arg0 element accepts up to three attributes.
@@ -225,6 +252,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
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
range validation. These parameters may also be referenced by one of the
@@ -235,6 +264,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The name of the var parameter to provide to a field's validators.
-->
<!ELEMENT var-name (#PCDATA)>
@@ -242,6 +273,8 @@
<!--
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
+ DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED
The value of the var parameter to provide to a field's validators.
-->
<!ELEMENT var-value (#PCDATA)>
--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>