avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/tools/infobuilder componentinfo.dtd
Date Wed, 13 Nov 2002 02:09:28 GMT
donaldp     2002/11/12 18:09:28

  Modified:    info/src/java/org/apache/avalon/framework/tools/infobuilder
                        componentinfo.dtd
  Log:
  Update DTD to support schema element that parameters/configuration can be validated against.
  
  Revision  Changes    Path
  1.14      +14 -1     jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/tools/infobuilder/componentinfo.dtd
  
  Index: componentinfo.dtd
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/tools/infobuilder/componentinfo.dtd,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- componentinfo.dtd	4 Oct 2002 07:45:21 -0000	1.13
  +++ componentinfo.dtd	13 Nov 2002 02:09:28 -0000	1.14
  @@ -26,8 +26,10 @@
   context      the context required by this component
   services     the services offered by this component
   dependencies the services that this component require to operate
  +schema       the configuration/parameters schema that this component
  +             validates against
   -->
  -<!ELEMENT component-info (component, loggers?, context?, services?, dependencies?)>
  +<!ELEMENT component-info (component, loggers?, context?, services?, dependencies?, schema?)>
   <!--
     !ATTLIST component-info id ID #IMPLIED
             xmlns CDATA #FIXED "http://jakarta.apache.org/avalon/componentinfo_1_0.dtd"
  @@ -50,6 +52,17 @@
   -->
   <!ELEMENT component      (attribute*)>
     <!ATTLIST component type CDATA #REQUIRED >
  +
  +<!--
  +The schema element defines the schema for the component, it defines:
  +
  +category       either "configuration" or "parameters" depending on what
  +               the schema is being used to validate against.
  +location       the location of the schema relative the the component
  +-->
  +<!ELEMENT schema      (attribute*)>
  +  <!ATTLIST schema category CDATA #REQUIRED >
  +  <!ATTLIST schema location CDATA #REQUIRED >
   
   <!--
   The logger element defines the loggers that are available to component.
  
  
  

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


Mime
View raw message