You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2002/09/12 06:44:55 UTC

cvs commit: jakarta-avalon-site/docs/dtds service_1_0.dtd service.dtd

mcconnell    2002/09/11 21:44:55

  Added:       docs/dtds service_1_0.dtd service.dtd
  Log:
  Initial service DTD (version 1.0 and latest version).
  
  Revision  Changes    Path
  1.1                  jakarta-avalon-site/docs/dtds/service_1_0.dtd
  
  Index: service_1_0.dtd
  ===================================================================
  <!--
  
     This is the DTD defining the Service Meta Model 1.0
     descriptor (XML) file format/syntax.
  
     Author: Stephen McConnell <mc...@apache.org>
  
     An xservice file is an XML resource colocated with a class file
     sharing the same file name.  The &lt;classname&gt;.xservice resource
     contains the description of a service interface that may be referenced
     within component type defintions as either a supplied service or 
     consumed service.
  
     Copyright (C) The Apache Software Foundation. All rights reserved.
  
     This software is published under the terms of the Apache Software License
     version 1.1, a copy of which has been included  with this distribution in
     the LICENSE.txt file.
  
    -->
  
  <!--
  A service element is the document root, it defines:
  
  attributes     an attributes set
  -->
  
  <!ELEMENT service (attributes?)>
  
  <!--
  The attributes element contains a list of attributes for feature.
  -->
  <!ELEMENT attributes    (attribute*)>
  
  <!--
  The attribute element defines an attribute (an opaque key-value pair for a feature).
  It defines:
  
  key          the key for attribute.
  value  	 the value of attribute.
  
  Attribute values may be declared within the content or under the value attribute. Attribute based value declaration shall take priority over content declaration.  If the value attribute is defined, any content shall be ignored.   
  -->
  <!ELEMENT attribute   (#PCDATA) >
    <!ATTLIST attribute
         key CDATA #REQUIRED
         value CDATA #IMPLIED
    >
  
  
  
  1.1                  jakarta-avalon-site/docs/dtds/service.dtd
  
  Index: service.dtd
  ===================================================================
  <!--
  
     This is the DTD defining the Service Meta Model 1.0
     descriptor (XML) file format/syntax.
  
     Author: Stephen McConnell <mc...@apache.org>
  
     An xservice file is an XML resource colocated with a class file
     sharing the same file name.  The &lt;classname&gt;.xservice resource
     contains the description of a service interface that may be referenced
     within component type defintions as either a supplied service or 
     consumed service.
  
     Copyright (C) The Apache Software Foundation. All rights reserved.
  
     This software is published under the terms of the Apache Software License
     version 1.1, a copy of which has been included  with this distribution in
     the LICENSE.txt file.
  
    -->
  
  <!--
  A service element is the document root, it defines:
  
  attributes     an attributes set
  -->
  
  <!ELEMENT service (attributes?)>
  
  <!--
  The attributes element contains a list of attributes for feature.
  -->
  <!ELEMENT attributes    (attribute*)>
  
  <!--
  The attribute element defines an attribute (an opaque key-value pair for a feature).
  It defines:
  
  key          the key for attribute.
  value  	 the value of attribute.
  
  Attribute values may be declared within the content or under the value attribute. Attribute based value declaration shall take priority over content declaration.  If the value attribute is defined, any content shall be ignored.   
  -->
  <!ELEMENT attribute   (#PCDATA) >
    <!ATTLIST attribute
         key CDATA #REQUIRED
         value CDATA #IMPLIED
    >
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>