commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: svn commit: r1451332 - in /commons/cms-site/trunk/content/resources/dtds: ./ validator_1_0.dtd validator_1_0_1.dtd validator_1_1.dtd validator_1_1_3.dtd validator_1_2_0.dtd validator_1_3_0.dtd validator_1_4_0.dtd
Date Sun, 03 Mar 2013 18:03:56 GMT
fixed.
rm then copy with a svn cp (so that's the same files except I used cp
rather than svn p :-) )

2013/3/3 sebb <sebbaz@gmail.com>:
> On 28 February 2013 20:50,  <olamy@apache.org> wrote:
>> Author: olamy
>> Date: Thu Feb 28 20:50:27 2013
>> New Revision: 1451332
>>
>> URL: http://svn.apache.org/r1451332
>> Log:
>> restore validator dtds
>>
>> Added:
>>     commons/cms-site/trunk/content/resources/dtds/
>>     commons/cms-site/trunk/content/resources/dtds/validator_1_0.dtd   (with props)
>>     commons/cms-site/trunk/content/resources/dtds/validator_1_0_1.dtd   (with props)
>>     commons/cms-site/trunk/content/resources/dtds/validator_1_1.dtd   (with props)
>>     commons/cms-site/trunk/content/resources/dtds/validator_1_1_3.dtd   (with props)
>>     commons/cms-site/trunk/content/resources/dtds/validator_1_2_0.dtd   (with props)
>>     commons/cms-site/trunk/content/resources/dtds/validator_1_3_0.dtd   (with props)
>>     commons/cms-site/trunk/content/resources/dtds/validator_1_4_0.dtd   (with props)
>
> Why are these new files?
>
> Where did they come from?
> If from SVN, then they should have been added using SVN copy please.
>
>> Added: commons/cms-site/trunk/content/resources/dtds/validator_1_0.dtd
>> URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/resources/dtds/validator_1_0.dtd?rev=1451332&view=auto
>> ==============================================================================
>> --- commons/cms-site/trunk/content/resources/dtds/validator_1_0.dtd (added)
>> +++ commons/cms-site/trunk/content/resources/dtds/validator_1_0.dtd Thu Feb 28 20:50:27 2013
>> @@ -0,0 +1,262 @@
>> +<!--
>> + Licensed to the Apache Software Foundation (ASF) under one or more
>> + contributor license agreements.  See the NOTICE file distributed with
>> + this work for additional information regarding copyright ownership.
>> + The ASF licenses this file to You under the Apache License, Version 2.0
>> + (the "License"); you may not use this file except in compliance with
>> + the License.  You may obtain a copy of the License at
>> +
>> +      http://www.apache.org/licenses/LICENSE-2.0
>> +
>> + Unless required by applicable law or agreed to in writing, software
>> + distributed under the License is distributed on an "AS IS" BASIS,
>> + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> + See the License for the specific language governing permissions and
>> + limitations under the License.
>> +-->
>> +<!--
>> +    DTD for the Validator Rules Configuration File, Version 1.0
>> +
>> +    To allow for XML validation of your rules configuration
>> +    file, include the following DOCTYPE element at the beginning (after
>> +    the "xml" declaration):
>> +
>> +    <!DOCTYPE form-validation PUBLIC
>> +     "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
>> +     "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
>> +
>> +    $Id$
>> +-->
>> +
>> +
>> +<!-- =================================================== Top Level Elements -->
>> +
>> +
>> +<!--
>> +     The "form-validation" element is the root of the configuration file
>> +     hierarchy, and contains nested elements for all of the other
>> +     configuration settings.
>> +-->
>> +<!ELEMENT form-validation (global*, formset*)>
>> +
>> +
>> +<!--
>> +    The elements defined here are all global and must be nested within a
>> +    "global" element.
>> +-->
>> +<!ELEMENT global (validator*, constant*)>
>> +
>> +
>> +<!--
>> +     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,
>> +     and jsFunctionName.
>> +-->
>> +<!ELEMENT validator (javascript?)>
>> +<!ATTLIST validator name           CDATA #REQUIRED
>> +                    classname      CDATA #REQUIRED
>> +                    method         CDATA #REQUIRED
>> +                    methodParams   CDATA #REQUIRED
>> +                    msg            CDATA #REQUIRED
>> +                    depends        CDATA #IMPLIED
>> +                    jsFunctionName CDATA #IMPLIED >
>> +
>> +
>> +<!--
>> +     The "javascript" element defines a JavaScript that can be used to perform
>> +     client-side validators.
>> +-->
>> +<!ELEMENT javascript (#PCDATA)>
>> +
>> +
>> +<!--
>> +     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
>> +     value.
>> +-->
>> +<!ELEMENT constant (constant-name, constant-value)>
>> +<!ELEMENT constant-name  (#PCDATA)>
>> +<!ELEMENT constant-value (#PCDATA)>
>> +
>> +
>> +<!--
>> +      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
>> +      language, or just the country, or both.
>> +-->
>> +<!ELEMENT formset (constant*, form+)>
>> +<!ATTLIST formset language     CDATA #IMPLIED
>> +                  country      CDATA #IMPLIED >
>> +
>> +
>> +<!--
>> +     The "form" element defines a set of fields to be validated. The name
>> +     corresponds to the identifer the application assigns to the form.
>> +-->
>> +<!ELEMENT form    (field+ )>
>> +<!ATTLIST form    name         CDATA #REQUIRED>
>> +
>> +
>> +<!--
>> +     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
>> +     a JavaBean representation. The field element can accept up to 4
>> +     attributes:
>> +
>> +     property        The property on the JavaBean corresponding to this
>> +                     field element.
>> +
>> +     depends         The comma-delimited list of validators to apply against
>> +                     this field. For the field to succeed, all the
>> +                     validators must succeed.
>> +
>> +     page            The JavaBean corresponding to this form may include
>> +                     a page property. Only fields with a "page" attribute
>> +                     value that is equal to or less than the page property
>> +                     on the form JavaBean are processed. This is useful when
>> +                     using a "wizard" approach to completing a large form,
>> +                     to ensure that a page is not skipped.
>> +                     [0]
>> +
>> +     indexedListProperty
>> +                     The "indexedListProperty" is the method name that will
>> +                     return an array or a Collection used to retrieve the
>> +                     list and then loop through the list performing the
>> +                     validations for this field.
>> +
>> +-->
>> +<!ELEMENT field   (msg|arg0|arg1|arg2|arg3|var)*>
>> +<!ATTLIST field   property CDATA #REQUIRED
>> +                  depends  CDATA #IMPLIED
>> +                  page     CDATA #IMPLIED
>> +                  indexedListProperty CDATA #IMPLIED >
>> +
>> +
>> +<!--
>> +     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.
>> +     Each validator applied to a field may have its own msg element.
>> +     The msg element accepts up to three 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 msg     EMPTY>
>> +<!ATTLIST msg     name     CDATA #IMPLIED
>> +                  key      CDATA #IMPLIED
>> +                  resource CDATA #IMPLIED >
>> +
>> +
>> +<!--
>> +     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.
>> +
>> +      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
>> +                  key      CDATA #IMPLIED
>> +                  resource CDATA #IMPLIED >
>> +
>> +
>> +<!--
>> +     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.
>> +
>> +      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
>> +                  key      CDATA #IMPLIED
>> +                  resource CDATA #IMPLIED >
>> +
>> +
>> +<!--
>> +     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.
>> +
>> +      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
>> +                  key      CDATA #IMPLIED
>> +                  resource CDATA #IMPLIED >
>> +
>> +<!--
>> +     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.
>> +
>> +      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
>> +                  key      CDATA #IMPLIED
>> +                  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
>> +     range validation. These parameters may also be referenced by one of the
>> +     arg? elements using a shell syntax: ${var:var-name}.
>> +-->
>> +<!ELEMENT var (var-name, var-value)>
>> +
>> +
>> +
>> +<!--
>> +     The name of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-name  (#PCDATA)>
>> +
>> +
>> +
>> +<!--
>> +     The value of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-value (#PCDATA)>
>> +
>> +<!-- eof -->
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_0.dtd
>> ------------------------------------------------------------------------------
>>     svn:eol-style = native
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_0.dtd
>> ------------------------------------------------------------------------------
>>     svn:keywords = Author Date Id Revision
>>
>> Added: commons/cms-site/trunk/content/resources/dtds/validator_1_0_1.dtd
>> URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/resources/dtds/validator_1_0_1.dtd?rev=1451332&view=auto
>> ==============================================================================
>> --- commons/cms-site/trunk/content/resources/dtds/validator_1_0_1.dtd (added)
>> +++ commons/cms-site/trunk/content/resources/dtds/validator_1_0_1.dtd Thu Feb 28 20:50:27 2013
>> @@ -0,0 +1,261 @@
>> +<!--
>> + Licensed to the Apache Software Foundation (ASF) under one or more
>> + contributor license agreements.  See the NOTICE file distributed with
>> + this work for additional information regarding copyright ownership.
>> + The ASF licenses this file to You under the Apache License, Version 2.0
>> + (the "License"); you may not use this file except in compliance with
>> + the License.  You may obtain a copy of the License at
>> +
>> +      http://www.apache.org/licenses/LICENSE-2.0
>> +
>> + Unless required by applicable law or agreed to in writing, software
>> + distributed under the License is distributed on an "AS IS" BASIS,
>> + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> + See the License for the specific language governing permissions and
>> + limitations under the License.
>> +-->
>> +<!--
>> +    DTD for the Validator Rules Configuration File, Version 1.0.1
>> +
>> +    To allow for XML validation of your rules configuration
>> +    file, include the following DOCTYPE element at the beginning (after
>> +    the "xml" declaration):
>> +
>> +    <!DOCTYPE form-validation PUBLIC
>> +     "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0.1//EN"
>> +     "http://jakarta.apache.org/commons/dtds/validator_1_0_1.dtd">
>> +
>> +    $Id$
>> +-->
>> +
>> +
>> +<!-- =================================================== Top Level Elements -->
>> +
>> +
>> +<!--
>> +     The "form-validation" element is the root of the configuration file
>> +     hierarchy, and contains nested elements for all of the other
>> +     configuration settings.
>> +-->
>> +<!ELEMENT form-validation (global*, formset*)>
>> +
>> +
>> +<!--
>> +    The elements defined here are all global and must be nested within a
>> +    "global" element.
>> +-->
>> +<!ELEMENT global (validator*, constant*)>
>> +
>> +
>> +<!--
>> +     The "validator" element defines what validator objects can be used with
>> +     the fields referenced by the formset elements.
>> +-->
>> +<!ELEMENT validator (javascript?)>
>> +<!ATTLIST validator name           CDATA #REQUIRED
>> +                    classname      CDATA #REQUIRED
>> +                    method         CDATA #REQUIRED
>> +                    methodParams   CDATA #REQUIRED
>> +                    msg            CDATA #REQUIRED
>> +                    depends        CDATA #IMPLIED
>> +                    jsFunctionName CDATA #IMPLIED >
>> +
>> +
>> +<!--
>> +     The "javascript" element defines a JavaScript that can be used to perform
>> +     client-side validators.
>> +-->
>> +<!ELEMENT javascript (#PCDATA)>
>> +
>> +
>> +<!--
>> +     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
>> +     value.
>> +-->
>> +<!ELEMENT constant (constant-name, constant-value)>
>> +<!ELEMENT constant-name  (#PCDATA)>
>> +<!ELEMENT constant-value (#PCDATA)>
>> +
>> +
>> +<!--
>> +      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
>> +      language, or just the country, or both.
>> +-->
>> +<!ELEMENT formset (constant*, form+)>
>> +<!ATTLIST formset language     CDATA #IMPLIED
>> +                  country      CDATA #IMPLIED
>> +                  variant      CDATA #IMPLIED >
>> +
>> +
>> +<!--
>> +     The "form" element defines a set of fields to be validated. The name
>> +     corresponds to the identifer the application assigns to the form.
>> +-->
>> +<!ELEMENT form    (field+ )>
>> +<!ATTLIST form    name         CDATA #REQUIRED>
>> +
>> +
>> +<!--
>> +     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
>> +     a JavaBean representation. The field element can accept up to 4
>> +     attributes:
>> +
>> +     property        The property on the JavaBean corresponding to this
>> +                     field element.
>> +
>> +     depends         The comma-delimited list of validators to apply against
>> +                     this field. For the field to succeed, all the
>> +                     validators must succeed.
>> +
>> +     page            The JavaBean corresponding to this form may include
>> +                     a page property. Only fields with a "page" attribute
>> +                     value that is equal to or less than the page property
>> +                     on the form JavaBean are processed. This is useful when
>> +                     using a "wizard" approach to completing a large form,
>> +                     to ensure that a page is not skipped.
>> +                     [0]
>> +
>> +     indexedListProperty
>> +                     The "indexedListProperty" is the method name that will
>> +                     return an array or a Collection used to retrieve the
>> +                     list and then loop through the list performing the
>> +                     validations for this field.
>> +
>> +-->
>> +<!ELEMENT field   (msg|arg0|arg1|arg2|arg3|var)*>
>> +<!ATTLIST field   property CDATA #REQUIRED
>> +                  depends  CDATA #IMPLIED
>> +                  page     CDATA #IMPLIED
>> +                  indexedListProperty CDATA #IMPLIED >
>> +
>> +
>> +<!--
>> +     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.
>> +     Each validator applied to a field may have its own msg element.
>> +     The msg element accepts up to three 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 msg     EMPTY>
>> +<!ATTLIST msg     name     CDATA #IMPLIED
>> +                  key      CDATA #IMPLIED
>> +                  resource CDATA #IMPLIED >
>> +
>> +
>> +<!--
>> +     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.
>> +
>> +      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
>> +                  key      CDATA #IMPLIED
>> +                  resource CDATA #IMPLIED >
>> +
>> +
>> +<!--
>> +     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.
>> +
>> +      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
>> +                  key      CDATA #IMPLIED
>> +                  resource CDATA #IMPLIED >
>> +
>> +
>> +<!--
>> +     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.
>> +
>> +      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
>> +                  key      CDATA #IMPLIED
>> +                  resource CDATA #IMPLIED >
>> +
>> +<!--
>> +     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.
>> +
>> +      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
>> +                  key      CDATA #IMPLIED
>> +                  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
>> +     range validation. These parameters may also be referenced by one of the
>> +     arg? elements using a shell syntax: ${var:var-name}.
>> +-->
>> +<!ELEMENT var (var-name, var-value)>
>> +
>> +
>> +
>> +<!--
>> +     The name of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-name  (#PCDATA)>
>> +
>> +
>> +
>> +<!--
>> +     The value of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-value (#PCDATA)>
>> +
>> +<!-- eof -->
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_0_1.dtd
>> ------------------------------------------------------------------------------
>>     svn:eol-style = native
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_0_1.dtd
>> ------------------------------------------------------------------------------
>>     svn:keywords = Author Date Id Revision
>>
>> Added: commons/cms-site/trunk/content/resources/dtds/validator_1_1.dtd
>> URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/resources/dtds/validator_1_1.dtd?rev=1451332&view=auto
>> ==============================================================================
>> --- commons/cms-site/trunk/content/resources/dtds/validator_1_1.dtd (added)
>> +++ commons/cms-site/trunk/content/resources/dtds/validator_1_1.dtd Thu Feb 28 20:50:27 2013
>> @@ -0,0 +1,308 @@
>> +<!--
>> + Licensed to the Apache Software Foundation (ASF) under one or more
>> + contributor license agreements.  See the NOTICE file distributed with
>> + this work for additional information regarding copyright ownership.
>> + The ASF licenses this file to You under the Apache License, Version 2.0
>> + (the "License"); you may not use this file except in compliance with
>> + the License.  You may obtain a copy of the License at
>> +
>> +      http://www.apache.org/licenses/LICENSE-2.0
>> +
>> + Unless required by applicable law or agreed to in writing, software
>> + distributed under the License is distributed on an "AS IS" BASIS,
>> + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> + See the License for the specific language governing permissions and
>> + limitations under the License.
>> +-->
>> +<!--
>> +    DTD for the Validator Rules Configuration File, Version 1.1
>> +
>> +    To allow for XML validation of your rules configuration
>> +    file, include the following DOCTYPE element at the beginning (after
>> +    the "xml" declaration):
>> +
>> +    <!DOCTYPE form-validation PUBLIC
>> +     "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
>> +     "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
>> +
>> +    $Id$
>> +-->
>> +
>> +
>> +
>> +<!--
>> +     The "form-validation" element is the root of the configuration file
>> +     hierarchy, and contains nested elements for all of the other
>> +     configuration settings.
>> +-->
>> +<!ELEMENT form-validation (global*, formset*)>
>> +
>> +
>> +<!--
>> +    The elements defined here are all global and must be nested within a
>> +    "global" element.
>> +-->
>> +<!ELEMENT global (validator*, constant*)>
>> +
>> +
>> +<!--
>> +     The "validator" element defines what validator objects can be used with
>> +     the fields referenced by the formset elements.
>> +-->
>> +<!ELEMENT validator (javascript?)>
>> +<!ATTLIST validator name CDATA #REQUIRED>
>> +<!ATTLIST validator classname CDATA #REQUIRED>
>> +<!ATTLIST validator method CDATA #REQUIRED>
>> +<!ATTLIST validator methodParams CDATA #REQUIRED>
>> +<!ATTLIST validator msg CDATA #REQUIRED>
>> +<!ATTLIST validator depends CDATA #IMPLIED>
>> +<!ATTLIST validator jsFunctionName CDATA #IMPLIED>
>> +<!ATTLIST validator jsFunction CDATA #IMPLIED>
>> +
>> +
>> +<!--
>> +     The "javascript" element defines a JavaScript that can be used to perform
>> +     client-side validators.
>> +-->
>> +<!ELEMENT javascript (#PCDATA)>
>> +
>> +
>> +<!--
>> +     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
>> +     value.
>> +-->
>> +<!ELEMENT constant (constant-name, constant-value)>
>> +<!ELEMENT constant-name  (#PCDATA)>
>> +<!ELEMENT constant-value (#PCDATA)>
>> +
>> +
>> +<!--
>> +      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
>> +      language, or just the country, or both.
>> +-->
>> +<!ELEMENT formset (constant*, form+)>
>> +<!ATTLIST formset language CDATA #IMPLIED>
>> +<!ATTLIST formset country CDATA #IMPLIED>
>> +<!ATTLIST formset variant CDATA #IMPLIED>
>> +
>> +
>> +<!--
>> +     The "form" element defines a set of fields to be validated. The name
>> +     corresponds to the identifer the application assigns to the form.
>> +-->
>> +<!ELEMENT form (field+)>
>> +<!ATTLIST form name CDATA #REQUIRED>
>> +
>> +
>> +<!--
>> +     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
>> +     a JavaBean representation. The field element accepts these
>> +     attributes:
>> +
>> +     property        The property on the JavaBean corresponding to this
>> +                     field element.
>> +
>> +     depends         The comma-delimited list of validators to apply against
>> +                     this field. For the field to succeed, all the
>> +                     validators must succeed.
>> +
>> +     page            The JavaBean corresponding to this form may include
>> +                     a page property. Only fields with a "page" attribute
>> +                     value that is equal to or less than the page property
>> +                     on the form JavaBean are processed. This is useful when
>> +                     using a "wizard" approach to completing a large form,
>> +                     to ensure that a page is not skipped.
>> +                     [0]
>> +
>> +     indexedListProperty
>> +                     The "indexedListProperty" is the method name that will
>> +                     return an array or a Collection used to retrieve the
>> +                     list and then loop through the list performing the
>> +                     validations for this field.
>> +
>> +-->
>> +<!ELEMENT field (msg|arg|arg0|arg1|arg2|arg3|var)*>
>> +<!ATTLIST field property CDATA #REQUIRED>
>> +<!ATTLIST field depends CDATA #IMPLIED>
>> +<!ATTLIST field page CDATA #IMPLIED>
>> +<!ATTLIST field indexedListProperty CDATA #IMPLIED>
>> +
>> +
>> +<!--
>> +     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.
>> +     Each validator applied to a field may have its own msg element.
>> +     The msg element accepts these attributes.
>> +
>> +      name        The name of the validator corresponding to this msg.
>> +
>> +      bundle     The resource bundle name that the key should be resolved in.
>> +
>> +      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 msg EMPTY>
>> +<!ATTLIST msg key CDATA #REQUIRED>
>> +<!ATTLIST msg name CDATA #REQUIRED>
>> +<!ATTLIST msg bundle CDATA #IMPLIED>
>> +<!ATTLIST msg resource CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     The "arg" element defines a replacement value to use with the
>> +     message template for this validator or this field.
>> +     The arg element accepts these attributes.
>> +
>> +      name        The name of the validator corresponding to this msg.
>> +                         If not supplied, this argument will be used in the given
>> +                         position for every validator.
>> +
>> +      bundle     The resource bundle name that the key should be resolved in.
>> +
>> +      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]
>> +
>> +      position    The position of this replacement parameter in the message.
>> +                         For example, position="0" will set the first argument.
>> +                         [0]
>> +-->
>> +<!ELEMENT arg EMPTY>
>> +<!ATTLIST arg key CDATA #REQUIRED>
>> +<!ATTLIST arg bundle CDATA #IMPLIED>
>> +<!ATTLIST arg name CDATA #IMPLIED>
>> +<!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
>> +     range validation. These parameters may also be referenced by one of the
>> +     arg? elements using a shell syntax: ${var:var-name}.
>> +-->
>> +<!ELEMENT var (var-name, var-value)>
>> +
>> +
>> +
>> +<!--
>> +     The name of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-name  (#PCDATA)>
>> +
>> +
>> +
>> +<!--
>> +     The value of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-value (#PCDATA)>
>> +
>> +
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_1.dtd
>> ------------------------------------------------------------------------------
>>     svn:eol-style = native
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_1.dtd
>> ------------------------------------------------------------------------------
>>     svn:keywords = Author Date Id Revision
>>
>> Added: commons/cms-site/trunk/content/resources/dtds/validator_1_1_3.dtd
>> URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/resources/dtds/validator_1_1_3.dtd?rev=1451332&view=auto
>> ==============================================================================
>> --- commons/cms-site/trunk/content/resources/dtds/validator_1_1_3.dtd (added)
>> +++ commons/cms-site/trunk/content/resources/dtds/validator_1_1_3.dtd Thu Feb 28 20:50:27 2013
>> @@ -0,0 +1,328 @@
>> +<!--
>> + Licensed to the Apache Software Foundation (ASF) under one or more
>> + contributor license agreements.  See the NOTICE file distributed with
>> + this work for additional information regarding copyright ownership.
>> + The ASF licenses this file to You under the Apache License, Version 2.0
>> + (the "License"); you may not use this file except in compliance with
>> + the License.  You may obtain a copy of the License at
>> +
>> +      http://www.apache.org/licenses/LICENSE-2.0
>> +
>> + Unless required by applicable law or agreed to in writing, software
>> + distributed under the License is distributed on an "AS IS" BASIS,
>> + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> + See the License for the specific language governing permissions and
>> + limitations under the License.
>> +-->
>> +<!--
>> +    DTD for the Validator Rules Configuration File, Version 1.1.3
>> +
>> +    To allow for XML validation of your rules configuration
>> +    file, include the following DOCTYPE element at the beginning (after
>> +    the "xml" declaration):
>> +
>> +    <!DOCTYPE form-validation PUBLIC
>> +     "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
>> +     "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">
>> +
>> +    $Id$
>> +-->
>> +
>> +
>> +
>> +<!--
>> +     The "form-validation" element is the root of the configuration file
>> +     hierarchy, and contains nested elements for all of the other
>> +     configuration settings.
>> +-->
>> +<!ELEMENT form-validation (global*, formset*)>
>> +
>> +
>> +<!--
>> +    The elements defined here are all global and must be nested within a
>> +    "global" element.
>> +-->
>> +<!ELEMENT global (validator*, constant*)>
>> +
>> +
>> +<!--
>> +     The "validator" element defines what validator objects can be used with
>> +     the fields referenced by the formset elements.
>> +     elements:
>> +       validator         Defines a new validatior
>> +       javascript        The javascript source code for client side validation.
>> +     attributes:
>> +         name            The name of this validation
>> +         classname       The java class name that handles server side validation
>> +         method          The java method that handles server side validation
>> +         methodParams    The java class types passed to the serverside method
>> +         msg             a generic message key to use when this validator fails.
>> +                         It can be overridden by the 'msg' element for a specific field.
>> +         depends         The comma-delimited list of validator that are called before this validator.
>> +                         For this validation to succeed, all the listed validators must succeed.
>> +         jsFunctionName  The name of the javascript function which returns all fields of a certain type.
>> +         jsFunction      The name of the javascript function which is passed the form for validation.
>> +
>> +-->
>> +<!ELEMENT validator (javascript?)>
>> +<!ATTLIST validator name CDATA #REQUIRED>
>> +<!ATTLIST validator classname CDATA #REQUIRED>
>> +<!ATTLIST validator method CDATA #REQUIRED>
>> +<!ATTLIST validator methodParams CDATA #REQUIRED>
>> +<!ATTLIST validator msg CDATA #REQUIRED>
>> +<!ATTLIST validator depends CDATA #IMPLIED>
>> +<!ATTLIST validator jsFunctionName CDATA #IMPLIED>
>> +<!ATTLIST validator jsFunction CDATA #IMPLIED>
>> +
>> +
>> +<!--
>> +     The "javascript" element defines a JavaScript that can be used to perform
>> +     client-side validators.
>> +-->
>> +<!ELEMENT javascript (#PCDATA)>
>> +
>> +
>> +<!--
>> +     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
>> +     value.
>> +-->
>> +<!ELEMENT constant (constant-name, constant-value)>
>> +<!ELEMENT constant-name  (#PCDATA)>
>> +<!ELEMENT constant-value (#PCDATA)>
>> +
>> +
>> +<!--
>> +      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
>> +      language, or just the country, or both.
>> +-->
>> +<!ELEMENT formset (constant*, form+)>
>> +<!ATTLIST formset language CDATA #IMPLIED>
>> +<!ATTLIST formset country CDATA #IMPLIED>
>> +<!ATTLIST formset variant CDATA #IMPLIED>
>> +
>> +
>> +<!--
>> +     The "form" element defines a set of fields to be validated. The name
>> +     corresponds to the identifier the application assigns to the form.
>> +-->
>> +<!ELEMENT form (field+)>
>> +<!ATTLIST form name CDATA #REQUIRED>
>> +
>> +
>> +<!--
>> +     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
>> +     a JavaBean representation. The field element accepts these
>> +     attributes:
>> +
>> +     property        The property on the JavaBean corresponding to this
>> +                     field element.
>> +
>> +     depends         The comma-delimited list of validators to apply against
>> +                     this field. For the field to succeed, all the
>> +                     validators must succeed.
>> +
>> +     page            The JavaBean corresponding to this form may include
>> +                     a page property. Only fields with a "page" attribute
>> +                     value that is equal to or less than the page property
>> +                     on the form JavaBean are processed. This is useful when
>> +                     using a "wizard" approach to completing a large form,
>> +                     to ensure that a page is not skipped.
>> +                     [0]
>> +
>> +     indexedListProperty
>> +                     The "indexedListProperty" is the method name that will
>> +                     return an array or a Collection used to retrieve the
>> +                     list and then loop through the list performing the
>> +                     validations for this field.
>> +
>> +-->
>> +<!ELEMENT field (msg|arg|arg0|arg1|arg2|arg3|var)*>
>> +<!ATTLIST field property CDATA #REQUIRED>
>> +<!ATTLIST field depends CDATA #IMPLIED>
>> +<!ATTLIST field page CDATA #IMPLIED>
>> +<!ATTLIST field indexedListProperty CDATA #IMPLIED>
>> +
>> +
>> +<!--
>> +     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 corresponding field msg is not specified.
>> +     Each validator applied to a field may have its own msg element.
>> +     The msg element accepts these attributes.
>> +
>> +      name        The name of the validator corresponding to this msg.
>> +
>> +      bundle     The resource bundle name that the key should be resolved in.
>> +
>> +      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 msg EMPTY>
>> +<!ATTLIST msg key CDATA #REQUIRED>
>> +<!ATTLIST msg name CDATA #REQUIRED>
>> +<!ATTLIST msg bundle CDATA #IMPLIED>
>> +<!ATTLIST msg resource CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     The "arg" element defines a replacement value to use with the
>> +     message template for this validator or this field.
>> +     The arg element accepts these attributes.
>> +
>> +      name        The name of the validator corresponding to this msg.
>> +                         If not supplied, this argument will be used in the given
>> +                         position for every validator.
>> +
>> +      bundle     The resource bundle name that the key should be resolved in.
>> +
>> +      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]
>> +
>> +      position    The position of this replacement parameter in the message.
>> +                         For example, position="0" will set the first argument.
>> +                         [0]
>> +-->
>> +<!ELEMENT arg EMPTY>
>> +<!ATTLIST arg key CDATA #REQUIRED>
>> +<!ATTLIST arg bundle CDATA #IMPLIED>
>> +<!ATTLIST arg name CDATA #IMPLIED>
>> +<!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
>> +     range validation. These parameters may also be referenced by one of the
>> +     arg? elements using a shell syntax: ${var:var-name}.
>> +-->
>> +<!ELEMENT var (var-name, var-value, var-jstype?)>
>> +
>> +
>> +
>> +<!--
>> +     The name of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-name  (#PCDATA)>
>> +
>> +
>> +
>> +<!--
>> +     The value of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-value (#PCDATA)>
>> +
>> +<!--
>> +     The java script type, Possible Values [int| string | regexp]
>> +
>> +-->
>> +<!ELEMENT var-jstype (#PCDATA)>
>> +
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_1_3.dtd
>> ------------------------------------------------------------------------------
>>     svn:eol-style = native
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_1_3.dtd
>> ------------------------------------------------------------------------------
>>     svn:keywords = Author Date Id Revision
>>
>> Added: commons/cms-site/trunk/content/resources/dtds/validator_1_2_0.dtd
>> URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/resources/dtds/validator_1_2_0.dtd?rev=1451332&view=auto
>> ==============================================================================
>> --- commons/cms-site/trunk/content/resources/dtds/validator_1_2_0.dtd (added)
>> +++ commons/cms-site/trunk/content/resources/dtds/validator_1_2_0.dtd Thu Feb 28 20:50:27 2013
>> @@ -0,0 +1,249 @@
>> +<!--
>> + Licensed to the Apache Software Foundation (ASF) under one or more
>> + contributor license agreements.  See the NOTICE file distributed with
>> + this work for additional information regarding copyright ownership.
>> + The ASF licenses this file to You under the Apache License, Version 2.0
>> + (the "License"); you may not use this file except in compliance with
>> + the License.  You may obtain a copy of the License at
>> +
>> +      http://www.apache.org/licenses/LICENSE-2.0
>> +
>> + Unless required by applicable law or agreed to in writing, software
>> + distributed under the License is distributed on an "AS IS" BASIS,
>> + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> + See the License for the specific language governing permissions and
>> + limitations under the License.
>> +-->
>> +<!--
>> +    DTD for the Validator Rules Configuration File, Version 1.2.0
>> +
>> +    To allow for XML validation of your rules configuration
>> +    file, include the following DOCTYPE element at the beginning (after
>> +    the "xml" declaration):
>> +
>> +    <!DOCTYPE form-validation PUBLIC
>> +     "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.2.0//EN"
>> +     "http://jakarta.apache.org/commons/dtds/validator_1_2_0.dtd">
>> +
>> +    $Id$
>> +-->
>> +
>> +
>> +
>> +<!--
>> +     The "form-validation" element is the root of the configuration file
>> +     hierarchy, and contains nested elements for all of the other
>> +     configuration settings.
>> +-->
>> +<!ELEMENT form-validation (global*, formset*)>
>> +
>> +
>> +<!--
>> +    The elements defined here are all global and must be nested within a
>> +    "global" element.
>> +-->
>> +<!ELEMENT global (validator*, constant*)>
>> +
>> +
>> +<!--
>> +     Defines what validator objects can be used with
>> +     the fields referenced by the formset elements.
>> +     elements:
>> +       validator         Defines a new validatior
>> +       javascript        The javascript source code for client side validation.
>> +     attributes:
>> +         name            The name of this validation
>> +         classname       The java class name that handles server side validation
>> +         method          The java method that handles server side validation
>> +         methodParams    The java class types passed to the serverside method
>> +         msg             a generic message key to use when this validator fails.
>> +                         It can be overridden by the 'msg' element for a specific field.
>> +         depends         The comma-delimited list of validator that are called before this validator.
>> +                         For this validation to succeed, all the listed validators must succeed.
>> +         jsFunctionName  The name of the javascript function which returns all fields of a certain type.
>> +         jsFunction      The name of the javascript function which is passed the form for validation.
>> +
>> +-->
>> +<!ELEMENT validator (javascript?)>
>> +<!ATTLIST validator name CDATA #REQUIRED>
>> +<!ATTLIST validator classname CDATA #REQUIRED>
>> +<!ATTLIST validator method CDATA #REQUIRED>
>> +<!ATTLIST validator methodParams CDATA #REQUIRED>
>> +<!ATTLIST validator msg CDATA #REQUIRED>
>> +<!ATTLIST validator depends CDATA #IMPLIED>
>> +<!ATTLIST validator jsFunctionName CDATA #IMPLIED>
>> +<!ATTLIST validator jsFunction CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     Defines a JavaScript that can be used to perform
>> +     client-side validators.
>> +-->
>> +<!ELEMENT javascript (#PCDATA)>
>> +
>> +
>> +<!--
>> +     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
>> +     value.
>> +-->
>> +<!ELEMENT constant (constant-name, constant-value)>
>> +<!ELEMENT constant-name  (#PCDATA)>
>> +<!ELEMENT constant-value (#PCDATA)>
>> +
>> +
>> +<!--
>> +      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
>> +      language, or just the country, or both.
>> +-->
>> +<!ELEMENT formset (constant*, form+)>
>> +<!ATTLIST formset language CDATA #IMPLIED>
>> +<!ATTLIST formset country CDATA #IMPLIED>
>> +<!ATTLIST formset variant CDATA #IMPLIED>
>> +
>> +
>> +<!--
>> +     Defines a set of fields to be validated. The name
>> +     corresponds to the identifier the application assigns to the form.
>> +-->
>> +<!ELEMENT form (field+)>
>> +<!ATTLIST form name CDATA #REQUIRED>
>> +<!ATTLIST form extends CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     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
>> +     a JavaBean representation. The field element accepts these
>> +     attributes:
>> +
>> +     property        The property on the JavaBean corresponding to this
>> +                     field element.
>> +
>> +     depends         The comma-delimited list of validators to apply against
>> +                     this field. For the field to succeed, all the
>> +                     validators must succeed.
>> +
>> +     page            The JavaBean corresponding to this form may include
>> +                     a page property. Only fields with a "page" attribute
>> +                     value that is equal to or less than the page property
>> +                     on the form JavaBean are processed. This is useful when
>> +                     using a "wizard" approach to completing a large form,
>> +                     to ensure that a page is not skipped.
>> +                     [0]
>> +
>> +     indexedListProperty
>> +                     The "indexedListProperty" is the method name that will
>> +                     return an array or a Collection used to retrieve the
>> +                     list and then loop through the list performing the
>> +                     validations for this field.
>> +
>> +-->
>> +<!ELEMENT field (msg|arg|var)*>
>> +<!ATTLIST field property CDATA #REQUIRED>
>> +<!ATTLIST field depends CDATA #IMPLIED>
>> +<!ATTLIST field page CDATA #IMPLIED>
>> +<!ATTLIST field indexedListProperty CDATA #IMPLIED>
>> +
>> +
>> +<!--
>> +     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 corresponding field msg is not specified.
>> +     Each validator applied to a field may have its own msg element.
>> +     The msg element accepts these attributes.
>> +
>> +      name        The name of the validator corresponding to this msg.
>> +
>> +      bundle     The resource bundle name that the key should be resolved in.
>> +
>> +      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 msg EMPTY>
>> +<!ATTLIST msg key CDATA #REQUIRED>
>> +<!ATTLIST msg name CDATA #REQUIRED>
>> +<!ATTLIST msg bundle CDATA #IMPLIED>
>> +<!ATTLIST msg resource CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     Defines a replacement value to use with the
>> +     message template for this validator or this field.
>> +     The arg element accepts these attributes.
>> +
>> +      name        The name of the validator corresponding to this msg.
>> +                         If not supplied, this argument will be used in the given
>> +                         position for every validator.
>> +
>> +      bundle     The resource bundle name that the key should be resolved in.
>> +
>> +      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]
>> +
>> +      position    The position of this replacement parameter in the message.
>> +                  For example, position="0" will set the first argument.
>> +
>> +             N.B. Since 1.2.0 position is ignored for 'default' arguments
>> +                  (i.e. those with no 'name' supplied) - it is calculated
>> +                  automatically from the order the arguments are added in.
>> +                  For 'overriden' arguments (i.e. those with a 'name')
>> +                  it is optional. If 'position' is not supplied it will
>> +                  use the position of the 'default' argument it follows.
>> +-->
>> +<!ELEMENT arg EMPTY>
>> +<!ATTLIST arg key CDATA #REQUIRED>
>> +<!ATTLIST arg bundle CDATA #IMPLIED>
>> +<!ATTLIST arg name CDATA #IMPLIED>
>> +<!ATTLIST arg resource CDATA #IMPLIED>
>> +<!ATTLIST arg position 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
>> +     range validation. These parameters may also be referenced by one of the
>> +     arg? elements using a shell syntax: ${var:var-name}.
>> +
>> +     N.B. resource ='true' indicates that the var-value is a resource key,
>> +          with the option to specify the bundle name. Validator doesn't do
>> +          anything itself with these values. Down-stream systems need
>> +          to resolve resource values.
>> +-->
>> +<!ELEMENT var (var-name, var-value, var-jstype?)>
>> +<!ATTLIST var resource CDATA #IMPLIED>
>> +<!ATTLIST var bundle CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     The name of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-name  (#PCDATA)>
>> +
>> +
>> +
>> +<!--
>> +     The value of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-value (#PCDATA)>
>> +
>> +<!--
>> +     The javascript type. Possible Values [int|string|regexp]
>> +-->
>> +<!ELEMENT var-jstype (#PCDATA)>
>> +
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_2_0.dtd
>> ------------------------------------------------------------------------------
>>     svn:eol-style = native
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_2_0.dtd
>> ------------------------------------------------------------------------------
>>     svn:keywords = Author Date Id Revision
>>
>> Added: commons/cms-site/trunk/content/resources/dtds/validator_1_3_0.dtd
>> URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/resources/dtds/validator_1_3_0.dtd?rev=1451332&view=auto
>> ==============================================================================
>> --- commons/cms-site/trunk/content/resources/dtds/validator_1_3_0.dtd (added)
>> +++ commons/cms-site/trunk/content/resources/dtds/validator_1_3_0.dtd Thu Feb 28 20:50:27 2013
>> @@ -0,0 +1,249 @@
>> +<!--
>> + Licensed to the Apache Software Foundation (ASF) under one or more
>> + contributor license agreements.  See the NOTICE file distributed with
>> + this work for additional information regarding copyright ownership.
>> + The ASF licenses this file to You under the Apache License, Version 2.0
>> + (the "License"); you may not use this file except in compliance with
>> + the License.  You may obtain a copy of the License at
>> +
>> +      http://www.apache.org/licenses/LICENSE-2.0
>> +
>> + Unless required by applicable law or agreed to in writing, software
>> + distributed under the License is distributed on an "AS IS" BASIS,
>> + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> + See the License for the specific language governing permissions and
>> + limitations under the License.
>> +-->
>> +<!--
>> +    DTD for the Validator Rules Configuration File, Version 1.3.0
>> +
>> +    To allow for XML validation of your rules configuration
>> +    file, include the following DOCTYPE element at the beginning (after
>> +    the "xml" declaration):
>> +
>> +    <!DOCTYPE form-validation PUBLIC
>> +     "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.3.0//EN"
>> +     "http://jakarta.apache.org/commons/dtds/validator_1_3_0.dtd">
>> +
>> +    $Id$
>> +-->
>> +
>> +
>> +
>> +<!--
>> +     The "form-validation" element is the root of the configuration file
>> +     hierarchy, and contains nested elements for all of the other
>> +     configuration settings.
>> +-->
>> +<!ELEMENT form-validation (global*, formset*)>
>> +
>> +
>> +<!--
>> +    The elements defined here are all global and must be nested within a
>> +    "global" element.
>> +-->
>> +<!ELEMENT global (validator*, constant*)>
>> +
>> +
>> +<!--
>> +     Defines what validator objects can be used with
>> +     the fields referenced by the formset elements.
>> +     elements:
>> +       validator         Defines a new validatior
>> +       javascript        The javascript source code for client side validation.
>> +     attributes:
>> +         name            The name of this validation
>> +         classname       The java class name that handles server side validation
>> +         method          The java method that handles server side validation
>> +         methodParams    The java class types passed to the serverside method
>> +         msg             a generic message key to use when this validator fails.
>> +                         It can be overridden by the 'msg' element for a specific field.
>> +         depends         The comma-delimited list of validator that are called before this validator.
>> +                         For this validation to succeed, all the listed validators must succeed.
>> +         jsFunctionName  The name of the javascript function which returns all fields of a certain type.
>> +         jsFunction      The name of the javascript function which is passed the form for validation.
>> +
>> +-->
>> +<!ELEMENT validator (javascript?)>
>> +<!ATTLIST validator name CDATA #REQUIRED>
>> +<!ATTLIST validator classname CDATA #REQUIRED>
>> +<!ATTLIST validator method CDATA #REQUIRED>
>> +<!ATTLIST validator methodParams CDATA #REQUIRED>
>> +<!ATTLIST validator msg CDATA #REQUIRED>
>> +<!ATTLIST validator depends CDATA #IMPLIED>
>> +<!ATTLIST validator jsFunctionName CDATA #IMPLIED>
>> +<!ATTLIST validator jsFunction CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     Defines a JavaScript that can be used to perform
>> +     client-side validators.
>> +-->
>> +<!ELEMENT javascript (#PCDATA)>
>> +
>> +
>> +<!--
>> +     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
>> +     value.
>> +-->
>> +<!ELEMENT constant (constant-name, constant-value)>
>> +<!ELEMENT constant-name  (#PCDATA)>
>> +<!ELEMENT constant-value (#PCDATA)>
>> +
>> +
>> +<!--
>> +      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
>> +      language, or just the country, or both.
>> +-->
>> +<!ELEMENT formset (constant*, form+)>
>> +<!ATTLIST formset language CDATA #IMPLIED>
>> +<!ATTLIST formset country CDATA #IMPLIED>
>> +<!ATTLIST formset variant CDATA #IMPLIED>
>> +
>> +
>> +<!--
>> +     Defines a set of fields to be validated. The name
>> +     corresponds to the identifier the application assigns to the form.
>> +-->
>> +<!ELEMENT form (field*)>
>> +<!ATTLIST form name CDATA #REQUIRED>
>> +<!ATTLIST form extends CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     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
>> +     a JavaBean representation. The field element accepts these
>> +     attributes:
>> +
>> +     property        The property on the JavaBean corresponding to this
>> +                     field element.
>> +
>> +     depends         The comma-delimited list of validators to apply against
>> +                     this field. For the field to succeed, all the
>> +                     validators must succeed.
>> +
>> +     page            The JavaBean corresponding to this form may include
>> +                     a page property. Only fields with a "page" attribute
>> +                     value that is equal to or less than the page property
>> +                     on the form JavaBean are processed. This is useful when
>> +                     using a "wizard" approach to completing a large form,
>> +                     to ensure that a page is not skipped.
>> +                     [0]
>> +
>> +     indexedListProperty
>> +                     The "indexedListProperty" is the method name that will
>> +                     return an array or a Collection used to retrieve the
>> +                     list and then loop through the list performing the
>> +                     validations for this field.
>> +
>> +-->
>> +<!ELEMENT field (msg|arg|var)*>
>> +<!ATTLIST field property CDATA #REQUIRED>
>> +<!ATTLIST field depends CDATA #IMPLIED>
>> +<!ATTLIST field page CDATA #IMPLIED>
>> +<!ATTLIST field indexedListProperty CDATA #IMPLIED>
>> +
>> +
>> +<!--
>> +     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 corresponding field msg is not specified.
>> +     Each validator applied to a field may have its own msg element.
>> +     The msg element accepts these attributes.
>> +
>> +      name        The name of the validator corresponding to this msg.
>> +
>> +      bundle     The resource bundle name that the key should be resolved in.
>> +
>> +      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 msg EMPTY>
>> +<!ATTLIST msg key CDATA #REQUIRED>
>> +<!ATTLIST msg name CDATA #REQUIRED>
>> +<!ATTLIST msg bundle CDATA #IMPLIED>
>> +<!ATTLIST msg resource CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     Defines a replacement value to use with the
>> +     message template for this validator or this field.
>> +     The arg element accepts these attributes.
>> +
>> +      name        The name of the validator corresponding to this msg.
>> +                         If not supplied, this argument will be used in the given
>> +                         position for every validator.
>> +
>> +      bundle     The resource bundle name that the key should be resolved in.
>> +
>> +      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]
>> +
>> +      position    The position of this replacement parameter in the message.
>> +                  For example, position="0" will set the first argument.
>> +
>> +             N.B. Since 1.2.0 position is ignored for 'default' arguments
>> +                  (i.e. those with no 'name' supplied) - it is calculated
>> +                  automatically from the order the arguments are added in.
>> +                  For 'overriden' arguments (i.e. those with a 'name')
>> +                  it is optional. If 'position' is not supplied it will
>> +                  use the position of the 'default' argument it follows.
>> +-->
>> +<!ELEMENT arg EMPTY>
>> +<!ATTLIST arg key CDATA #REQUIRED>
>> +<!ATTLIST arg bundle CDATA #IMPLIED>
>> +<!ATTLIST arg name CDATA #IMPLIED>
>> +<!ATTLIST arg resource CDATA #IMPLIED>
>> +<!ATTLIST arg position 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
>> +     range validation. These parameters may also be referenced by one of the
>> +     arg? elements using a shell syntax: ${var:var-name}.
>> +
>> +     N.B. resource ='true' indicates that the var-value is a resource key,
>> +          with the option to specify the bundle name. Validator doesn't do
>> +          anything itself with these values. Down-stream systems need
>> +          to resolve resource values.
>> +-->
>> +<!ELEMENT var (var-name, var-value, var-jstype?)>
>> +<!ATTLIST var resource CDATA #IMPLIED>
>> +<!ATTLIST var bundle CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     The name of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-name  (#PCDATA)>
>> +
>> +
>> +
>> +<!--
>> +     The value of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-value (#PCDATA)>
>> +
>> +<!--
>> +     The javascript type. Possible Values [int|string|regexp]
>> +-->
>> +<!ELEMENT var-jstype (#PCDATA)>
>> +
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_3_0.dtd
>> ------------------------------------------------------------------------------
>>     svn:eol-style = native
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_3_0.dtd
>> ------------------------------------------------------------------------------
>>     svn:keywords = Author Date Id Revision
>>
>> Added: commons/cms-site/trunk/content/resources/dtds/validator_1_4_0.dtd
>> URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/resources/dtds/validator_1_4_0.dtd?rev=1451332&view=auto
>> ==============================================================================
>> --- commons/cms-site/trunk/content/resources/dtds/validator_1_4_0.dtd (added)
>> +++ commons/cms-site/trunk/content/resources/dtds/validator_1_4_0.dtd Thu Feb 28 20:50:27 2013
>> @@ -0,0 +1,253 @@
>> +<!--
>> + Licensed to the Apache Software Foundation (ASF) under one or more
>> + contributor license agreements.  See the NOTICE file distributed with
>> + this work for additional information regarding copyright ownership.
>> + The ASF licenses this file to You under the Apache License, Version 2.0
>> + (the "License"); you may not use this file except in compliance with
>> + the License.  You may obtain a copy of the License at
>> +
>> +      http://www.apache.org/licenses/LICENSE-2.0
>> +
>> + Unless required by applicable law or agreed to in writing, software
>> + distributed under the License is distributed on an "AS IS" BASIS,
>> + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> + See the License for the specific language governing permissions and
>> + limitations under the License.
>> +-->
>> +<!--
>> +    DTD for the Validator Rules Configuration File, Version 1.4.0
>> +
>> +    To allow for XML validation of your rules configuration
>> +    file, include the following DOCTYPE element at the beginning (after
>> +    the "xml" declaration):
>> +
>> +    <!DOCTYPE form-validation PUBLIC
>> +     "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.4.0//EN"
>> +     "http://commons.apache.org/dtds/validator_1_4_0.dtd">
>> +
>> +    $Id$
>> +-->
>> +
>> +
>> +
>> +<!--
>> +     The "form-validation" element is the root of the configuration file
>> +     hierarchy, and contains nested elements for all of the other
>> +     configuration settings.
>> +-->
>> +<!ELEMENT form-validation (global*, formset*)>
>> +
>> +
>> +<!--
>> +    The elements defined here are all global and must be nested within a
>> +    "global" element.
>> +-->
>> +<!ELEMENT global (validator*, constant*)>
>> +
>> +
>> +<!--
>> +     Defines what validator objects can be used with
>> +     the fields referenced by the formset elements.
>> +     elements:
>> +       validator         Defines a new validatior
>> +       javascript        The javascript source code for client side validation.
>> +     attributes:
>> +         name            The name of this validation
>> +         classname       The java class name that handles server side validation
>> +         method          The java method that handles server side validation
>> +         methodParams    The java class types passed to the serverside method
>> +         msg             a generic message key to use when this validator fails.
>> +                         It can be overridden by the 'msg' element for a specific field.
>> +         depends         The comma-delimited list of validator that are called before this validator.
>> +                         For this validation to succeed, all the listed validators must succeed.
>> +         jsFunctionName  The name of the javascript function which returns all fields of a certain type.
>> +         jsFunction      The name of the javascript function which is passed the form for validation.
>> +
>> +-->
>> +<!ELEMENT validator (javascript?)>
>> +<!ATTLIST validator name CDATA #REQUIRED>
>> +<!ATTLIST validator classname CDATA #REQUIRED>
>> +<!ATTLIST validator method CDATA #REQUIRED>
>> +<!ATTLIST validator methodParams CDATA #REQUIRED>
>> +<!ATTLIST validator msg CDATA #REQUIRED>
>> +<!ATTLIST validator depends CDATA #IMPLIED>
>> +<!ATTLIST validator jsFunctionName CDATA #IMPLIED>
>> +<!ATTLIST validator jsFunction CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     Defines a JavaScript that can be used to perform
>> +     client-side validators.
>> +-->
>> +<!ELEMENT javascript (#PCDATA)>
>> +
>> +
>> +<!--
>> +     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
>> +     value.
>> +-->
>> +<!ELEMENT constant (constant-name, constant-value)>
>> +<!ELEMENT constant-name  (#PCDATA)>
>> +<!ELEMENT constant-value (#PCDATA)>
>> +
>> +
>> +<!--
>> +      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
>> +      language, or just the country, or both.
>> +-->
>> +<!ELEMENT formset (constant*, form+)>
>> +<!ATTLIST formset language CDATA #IMPLIED>
>> +<!ATTLIST formset country CDATA #IMPLIED>
>> +<!ATTLIST formset variant CDATA #IMPLIED>
>> +
>> +
>> +<!--
>> +     Defines a set of fields to be validated. The name
>> +     corresponds to the identifier the application assigns to the form.
>> +-->
>> +<!ELEMENT form (field*)>
>> +<!ATTLIST form name CDATA #REQUIRED>
>> +<!ATTLIST form extends CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     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
>> +     a JavaBean representation. The field element accepts these
>> +     attributes:
>> +
>> +     property        The property on the JavaBean corresponding to this
>> +                     field element.
>> +
>> +     depends         The comma-delimited list of validators to apply against
>> +                     this field. For the field to succeed, all the
>> +                     validators must succeed.
>> +
>> +     page            The JavaBean corresponding to this form may include
>> +                     a page property. Only fields with a "page" attribute
>> +                     value that is equal to or less than the page property
>> +                     on the form JavaBean are processed. This is useful when
>> +                     using a "wizard" approach to completing a large form,
>> +                     to ensure that a page is not skipped.
>> +                     [0]
>> +
>> +     indexedListProperty
>> +                     The "indexedListProperty" is the method name that will
>> +                     return an array or a Collection used to retrieve the
>> +                     list and then loop through the list performing the
>> +                     validations for this field.
>> +
>> +     clientValidation
>> +                     If set to "false", the client is directed not to generate
>> +                     any scripting for client-side validation.
>> +                     [true]
>> +-->
>> +<!ELEMENT field (msg|arg|var)*>
>> +<!ATTLIST field property CDATA #REQUIRED>
>> +<!ATTLIST field depends CDATA #IMPLIED>
>> +<!ATTLIST field page CDATA #IMPLIED>
>> +<!ATTLIST field indexedListProperty CDATA #IMPLIED>
>> +<!ATTLIST field clientValidation CDATA #IMPLIED>
>> +
>> +<!--
>> +     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 corresponding field msg is not specified.
>> +     Each validator applied to a field may have its own msg element.
>> +     The msg element accepts these attributes.
>> +
>> +      name        The name of the validator corresponding to this msg.
>> +
>> +      bundle     The resource bundle name that the key should be resolved in.
>> +
>> +      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 msg EMPTY>
>> +<!ATTLIST msg key CDATA #REQUIRED>
>> +<!ATTLIST msg name CDATA #REQUIRED>
>> +<!ATTLIST msg bundle CDATA #IMPLIED>
>> +<!ATTLIST msg resource CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     Defines a replacement value to use with the
>> +     message template for this validator or this field.
>> +     The arg element accepts these attributes.
>> +
>> +      name        The name of the validator corresponding to this msg.
>> +                         If not supplied, this argument will be used in the given
>> +                         position for every validator.
>> +
>> +      bundle     The resource bundle name that the key should be resolved in.
>> +
>> +      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]
>> +
>> +      position    The position of this replacement parameter in the message.
>> +                  For example, position="0" will set the first argument.
>> +
>> +             N.B. Since 1.2.0 position is ignored for 'default' arguments
>> +                  (i.e. those with no 'name' supplied) - it is calculated
>> +                  automatically from the order the arguments are added in.
>> +                  For 'overriden' arguments (i.e. those with a 'name')
>> +                  it is optional. If 'position' is not supplied it will
>> +                  use the position of the 'default' argument it follows.
>> +-->
>> +<!ELEMENT arg EMPTY>
>> +<!ATTLIST arg key CDATA #REQUIRED>
>> +<!ATTLIST arg bundle CDATA #IMPLIED>
>> +<!ATTLIST arg name CDATA #IMPLIED>
>> +<!ATTLIST arg resource CDATA #IMPLIED>
>> +<!ATTLIST arg position 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
>> +     range validation. These parameters may also be referenced by one of the
>> +     arg? elements using a shell syntax: ${var:var-name}.
>> +
>> +     N.B. resource ='true' indicates that the var-value is a resource key,
>> +          with the option to specify the bundle name. Validator doesn't do
>> +          anything itself with these values. Down-stream systems need
>> +          to resolve resource values.
>> +-->
>> +<!ELEMENT var (var-name, var-value, var-jstype?)>
>> +<!ATTLIST var resource CDATA #IMPLIED>
>> +<!ATTLIST var bundle CDATA #IMPLIED>
>> +
>> +
>> +
>> +<!--
>> +     The name of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-name  (#PCDATA)>
>> +
>> +
>> +
>> +<!--
>> +     The value of the var parameter to provide to a field's validators.
>> +-->
>> +<!ELEMENT var-value (#PCDATA)>
>> +
>> +<!--
>> +     The javascript type. Possible Values [int|string|regexp]
>> +-->
>> +<!ELEMENT var-jstype (#PCDATA)>
>> +
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_4_0.dtd
>> ------------------------------------------------------------------------------
>>     svn:eol-style = native
>>
>> Propchange: commons/cms-site/trunk/content/resources/dtds/validator_1_4_0.dtd
>> ------------------------------------------------------------------------------
>>     svn:keywords = Author Date Id Revision
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>



--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message