donaldp 2002/10/04 00:45:21
Modified: info/src/java/org/apache/avalon/framework/tools/infobuilder
componentinfo.dtd
Log:
Fix DTD to include method/parameter elements.
Revision Changes Path
1.13 +22 -14
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.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- componentinfo.dtd 4 Oct 2002 05:54:38 -0000 1.12
+++ componentinfo.dtd 4 Oct 2002 07:45:21 -0000 1.13
@@ -121,19 +121,6 @@
<!ELEMENT methods (method*)>
<!--
-The param element defines an parameter to a attribute.
-It defines:
-
-name the name of attribute.
-value the value of attribute.
--->
-<!ELEMENT param (#PCDATA) >
- <!ATTLIST param
- name CDATA #REQUIRED
- value CDATA #REQUIRED
- >
-
-<!--
The entry element defines entry in context.
It defines:
@@ -148,6 +135,14 @@
optional CDATA #IMPLIED
>
+<!ELEMENT method (parameter*,attribute*) >
+ <!ATTLIST method
+ name CDATA #REQUIRED
+ return-type CDATA #REQUIRED >
+
+<!ELEMENT parameter (attribute*) >
+ <!ATTLIST parameter type CDATA #REQUIRED >
+
<!--
The method element defines a method.
It defines:
@@ -157,4 +152,17 @@
optional is entry optional
-->
<!ELEMENT attribute (param*) >
- <!ATTLIST attribute name CDATA #REQUIRED >
\ No newline at end of file
+ <!ATTLIST attribute name CDATA #REQUIRED >
+
+<!--
+The param element defines an parameter to a attribute.
+It defines:
+
+name the name of attribute.
+value the value of attribute.
+-->
+<!ELEMENT param EMPTY >
+ <!ATTLIST param
+ name CDATA #REQUIRED
+ value CDATA #REQUIRED
+ >
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>