rebuilding head
[mir.git] / lib / struts / validator-rules_1_1.dtd
diff --git a/lib/struts/validator-rules_1_1.dtd b/lib/struts/validator-rules_1_1.dtd
deleted file mode 100755 (executable)
index 2d24c8c..0000000
+++ /dev/null
@@ -1,282 +0,0 @@
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-    \r
-     Refer to the below DTD Instead:\r
-    \r
-    <!DOCTYPE form-validation PUBLIC\r
-          "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"\r
-          "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">\r
-\r
-\r
-    $Id: validator-rules_1_1.dtd,v 1.6 2002/11/14 20:33:13 rleland Exp $\r
--->\r
-\r
-\r
-<!-- =================================================== Top Level Elements -->\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The "form-validation" element is the root of the configuration file\r
-     hierarchy, and contains nested elements for all of the other\r
-     configuration settings.\r
--->\r
-<!ELEMENT form-validation (global+)>\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-    The elements defined here are all global and must be nested within a\r
-    "global" element.\r
--->\r
-<!ELEMENT global (validator+)>\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The "validator" element defines what validators objects can be used with\r
-     the fields referenced by the formset elements. The validator element can\r
-     accept 4 properties: name, classname, method, methodparams, msg, depends,\r
-     and jsFunctionName.\r
--->\r
-<!ELEMENT validator (javascript?)>\r
-<!ATTLIST validator name           CDATA #REQUIRED\r
-                    classname      CDATA #REQUIRED\r
-                    method         CDATA #REQUIRED\r
-                    methodParams   CDATA #REQUIRED\r
-                    msg            CDATA #REQUIRED\r
-                    depends        CDATA #IMPLIED\r
-                    jsFunctionName CDATA #IMPLIED >\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The "javascript" element defines a JavaScript that can be used to perform\r
-     client-side validators.\r
--->\r
-<!ELEMENT javascript (#PCDATA)>\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The "constant" element defines a static value that can be used as\r
-     replacement parameters within "field" elements. The "constant-name" and\r
-     "constant-value" elements define the constant's reference id and replacement\r
-     value.\r
--->\r
-<!ELEMENT constant (constant-name, constant-value)>\r
-<!ELEMENT constant-name  (#PCDATA)>\r
-<!ELEMENT constant-value (#PCDATA)>\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-      The "formset" element defines a set of forms for a locale. Formsets for\r
-      specific locales can override only those fields that change. The\r
-      localization is properly scoped, so that a formset can override just the\r
-      language, or just the country, or both.\r
--->\r
-<!ELEMENT formset (constant*, form+)>\r
-<!ATTLIST formset language     CDATA #IMPLIED\r
-                  country      CDATA #IMPLIED >\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The "form" element defines a set of fields to be validated. The name\r
-     corresponds to the identifer the application assigns to the form. In the\r
-     case of the Struts framework, this is the attribute property from\r
-     the ActionMapping. Struts also offers the alternative of using the\r
-     the path property as the Validator form name.\r
--->\r
-<!ELEMENT form    (field+ )>\r
-<!ATTLIST form    name CDATA #REQUIRED>\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The "field" element defines the properties to be validated. In a\r
-     web application, a field would also correspond to a control on\r
-     a HTML form. To validate the properties, the validator works through\r
-     a JavaBean representation, like a Struts ActionForm. The field element\r
-     can accept up to 4 attributes:\r
-\r
-     property        The property on the JavaBean corresponding to this\r
-                     field element.\r
-\r
-     depends         The comma-delimited list of validators to apply against\r
-                     this field. For the field to succeed, all the\r
-                     validators must succeed.\r
-\r
-     page            The JavaBean corresponding to this form may include\r
-                     a page property. Only fields with a "page" attribute\r
-                     value that is equal to or less than the page property\r
-                     on the form JavaBean are processed. This is useful when\r
-                     using a "wizard" approach to completing a large form,\r
-                     to ensure that a page is not skipped.\r
-                     [0]\r
-\r
-     indexedListProperty\r
-                     The "indexedListProperty" is the method name that will\r
-                     return an array or a Collection used to retrieve the\r
-                     list and then loop through the list performing the\r
-                     validations for this field.\r
-\r
-     fieldOrder      [:FIXME: is this still supported?]\r
--->\r
-<!ELEMENT field   (msg|arg0|arg1|arg2|arg3|var)*>\r
-<!ATTLIST field   property CDATA #REQUIRED\r
-                  depends  CDATA #IMPLIED\r
-                  page     CDATA #IMPLIED\r
-                  indexedListProperty CDATA #IMPLIED >\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The "msg" element defines a custom message key to use when one of the\r
-     validators for this field fails. Each validator has a default message\r
-     property that is used when a corresonding field msg is not specified.\r
-     Each validator applied to a field may have its own msg element.\r
-     The msg element accepts up to three attributes.\r
-\r
-      name        The name of the validator corresponding to this msg.\r
-\r
-      key         The key that will return the message template from a\r
-                  resource bundle.\r
-\r
-      resource    If set to "false", the key is taken to be a literal\r
-                  value rather than a bundle key.\r
-                  [true]\r
--->\r
-<!ELEMENT msg     EMPTY>\r
-<!ATTLIST msg     name     CDATA #IMPLIED\r
-                  key      CDATA #IMPLIED\r
-                  resource CDATA #IMPLIED >\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The "arg0" element defines the first replacement value to use with the\r
-     message template for this validator or this field.\r
-     The arg0 element accepts up to three attributes.\r
-\r
-      name        The name of the validator corresponding to this msg.\r
-\r
-      key         The key that will return the message template from a\r
-                  resource bundle.\r
-\r
-      resource    If set to "false", the key is taken to be a literal\r
-                  value rather than a bundle key.\r
-                  [true]\r
--->\r
-<!ELEMENT arg0    EMPTY>\r
-<!ATTLIST arg0    name     CDATA #IMPLIED\r
-                  key      CDATA #IMPLIED\r
-                  resource CDATA #IMPLIED >\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The "arg1" element defines the second replacement value to use with the\r
-     message template for this validator or this field.\r
-     The arg1 element accepts up to three attributes.\r
-\r
-      name        The name of the validator corresponding to this msg.\r
-\r
-      key         The key that will return the message template from a\r
-                  resource bundle.\r
-\r
-      resource    If set to "false", the key is taken to be a literal\r
-                  value rather than a bundle key.\r
-                  [true]\r
--->\r
-<!ELEMENT arg1    EMPTY>\r
-<!ATTLIST arg1    name     CDATA #IMPLIED\r
-                  key      CDATA #IMPLIED\r
-                  resource CDATA #IMPLIED >\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The "arg2" element defines the third replacement value to use with the\r
-     message template for this validator or this field.\r
-     The arg2 element accepts up to three attributes.\r
-\r
-      name        The name of the validator corresponding to this msg.\r
-\r
-      key         The key that will return the message template from a\r
-                  resource bundle.\r
-\r
-      resource    If set to "false", the key is taken to be a literal\r
-                  value rather than a bundle key.\r
-                  [true]\r
--->\r
-<!ELEMENT arg2    EMPTY>\r
-<!ATTLIST arg2    name     CDATA #IMPLIED\r
-                  key      CDATA #IMPLIED\r
-                  resource CDATA #IMPLIED >\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The "arg3" element defines the fourth replacement value to use with the\r
-     message template for this validator or this field.\r
-     The arg0 element accepts up to three attributes.\r
-\r
-      name        The name of the validator corresponding to this msg.\r
-\r
-      key         The key that will return the message template from a\r
-                  resource bundle.\r
-\r
-      resource    If set to "false", the key is taken to be a literal\r
-                  value rather than a bundle key.\r
-                  [true]\r
--->\r
-<!ELEMENT arg3    EMPTY>\r
-<!ATTLIST arg3    name     CDATA #IMPLIED\r
-                  key      CDATA #IMPLIED\r
-                  resource CDATA #IMPLIED >\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The "var" element can set parameters that a field may need to pass to\r
-     one of its validators, such as the minimum and maximum values in a\r
-     range validation. These parameters may also be referenced by one of the\r
-     arg? elements using a shell syntax: ${var:var-name}.\r
--->\r
-<!ELEMENT var (var-name, var-value)>\r
-\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The name of the var parameter to provide to a field's validators.\r
--->\r
-<!ELEMENT var-name  (#PCDATA)>\r
-\r
-\r
-\r
-<!--\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED\r
-    DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED ** DEPRECATED \r
-     The value of the var parameter to provide to a field's validators.\r
--->\r
-<!ELEMENT var-value (#PCDATA)>\r
-\r
-<!-- eof -->\r