mcconnell 2002/09/13 07:30:06
Modified: docs/dtds/meta type_1_1.dtd
Log:
Updated DTD to use "info" element in preference to "component" element as
the work "component" appears in the general container descriptor and is a
potential source of consusion. Secondly, the "component" element at a type
level is not defining a component but is instead defining information about
the
type. Changes are bakward compatible and do not require a version change.
Revision Changes Path
1.2 +25 -9 jakarta-avalon-site/docs/dtds/meta/type_1_1.dtd
Index: type_1_1.dtd
===================================================================
RCS file: /home/cvs/jakarta-avalon-site/docs/dtds/meta/type_1_1.dtd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- type_1_1.dtd 13 Sep 2002 08:39:52 -0000 1.1
+++ type_1_1.dtd 13 Sep 2002 14:30:06 -0000 1.2
@@ -24,18 +24,32 @@
<!--
A type element is the document root, it defines:
-component the specifc details about this component
-loggers the loggers used by this component
-context the context required by this component
-services the services offered by this component
-dependencies the services that this component require to operate
-stages the lifecycle stage extensions that this component is depenent
on
-extensions the lifecycle extensions that this component provides
+info the specific details about this component type
+loggers the loggers used by this component type
+context the context required by this component type
+services the services offered by this component type
+dependencies the services that this component type require to operate
+stages the lifecycle stage extensions that this component type is
depenent on
+extensions the lifecycle extensions that this component type provides
controls the set of management control points
-->
-<!ELEMENT type (component, loggers?, context?, services?, dependencies?,
stages?, extensions?)>
+<!ELEMENT type ( (component|info), loggers?, context?, services?,
dependencies?, stages?, extensions?)>
+
+<!--
+The info element describes the component, it defines:
+
+name the human readable name of component type. Must be a string
+ containing alphanumeric characters, '.', '_' and starting
+ with a letter.
+version the version of the component in (in the format #.#.#, #.#
or # where
+ # is a integer
+-->
+<!ELEMENT info (name?,version,attributes?)>
+ <!ELEMENT name (#PCDATA) >
+ <!ELEMENT version (#PCDATA) >
+
<!--
The component element describes the component, it defines:
@@ -45,6 +59,8 @@
with a letter.
version the version of the component in (in the format #.#.#, #.#
or # where
# is a integer
+
+This is a deprecated element - use "info" instead.
-->
<!ELEMENT component (name?,version,attributes?)>
<!ELEMENT name (#PCDATA) >
@@ -205,4 +221,4 @@
key CDATA #REQUIRED
type CDATA #REQUIRED
optional CDATA #IMPLIED
- >
\ No newline at end of file
+ >
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>