commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tur...@apache.org
Subject cvs commit: jakarta-commons/validator/conf/share validator_1_0.dtd
Date Tue, 22 Oct 2002 19:59:40 GMT
turner      2002/10/22 12:59:40

  Modified:    validator/conf/share validator_1_0.dtd
  Log:
  Fix DTD to include formset and constant in the appropriate elements, also make formset,
constant and validator optional, so that a file can have any or all of them
  
  Revision  Changes    Path
  1.3       +9 -6      jakarta-commons/validator/conf/share/validator_1_0.dtd
  
  Index: validator_1_0.dtd
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/validator/conf/share/validator_1_0.dtd,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- validator_1_0.dtd	16 Oct 2002 22:51:01 -0000	1.2
  +++ validator_1_0.dtd	22 Oct 2002 19:59:40 -0000	1.3
  @@ -21,14 +21,14 @@
        hierarchy, and contains nested elements for all of the other
        configuration settings.
   -->
  -<!ELEMENT form-validation (global+)>
  +<!ELEMENT form-validation (global*, formset*)>
   
   
   <!--
       The elements defined here are all global and must be nested within a
       "global" element.
   -->
  -<!ELEMENT global (validator+)>
  +<!ELEMENT global (validator*, constant*)>
   
   
   <!--
  @@ -73,7 +73,8 @@
   -->
   <!ELEMENT formset (constant*, form+)>
   <!ATTLIST formset language     CDATA #IMPLIED
  -                  country      CDATA #IMPLIED >
  +                  country      CDATA #IMPLIED 
  +                  resource     CDATA #IMPLIED >
   
   
   <!--
  @@ -81,7 +82,8 @@
        corresponds to the identifer the application assigns to the form. 
   -->
   <!ELEMENT form    (field+ )>
  -<!ATTLIST form    name CDATA #REQUIRED>
  +<!ATTLIST form    name         CDATA #REQUIRED
  +                  resource     CDATA #IMPLIED>
   
   
   <!--
  @@ -117,7 +119,8 @@
   <!ATTLIST field   property CDATA #REQUIRED
                     depends  CDATA #IMPLIED
                     page     CDATA #IMPLIED
  -                  indexedListProperty CDATA #IMPLIED >
  +                  indexedListProperty CDATA #IMPLIED 
  +                  resource     CDATE #IMPLIED >
   
   
   <!--
  
  
  

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


Mime
View raw message