huw 2002/08/07 00:07:57
Modified: src/schema mxinfo.dtd
Log:
Fixed bug where proxy classes didn't meet validation.
Revision Changes Path
1.2 +17 -4 jakarta-avalon-phoenix/src/schema/mxinfo.dtd
Index: mxinfo.dtd
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/src/schema/mxinfo.dtd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mxinfo.dtd 30 Jul 2002 12:27:48 -0000 1.1
+++ mxinfo.dtd 7 Aug 2002 07:07:57 -0000 1.2
@@ -3,7 +3,7 @@
This is the DTD defining the Phoenix MxInfo 1.0
descriptor (XML) file format/syntax.
- Author: Huw Roberts <[EMAIL PROTECTED]>
+ Author: Huw Roberts <huw*apache.org>
An MxInfo is an XML file used to describe the management info for Blocks
and other manageable resources. It is located side-by-side with the
@@ -23,7 +23,7 @@
The mxinfo is the document root, it defines one or more management topics.
-->
-<!ELEMENT mxinfo (topic+)>
+<!ELEMENT mxinfo (topic*,proxy*)>
<!ATTLIST mxinfo id ID #IMPLIED
xmlns CDATA #FIXED
"http://jakarta.apache.org/phoenix/mxinfo_1_0.dtd" >
@@ -44,6 +44,20 @@
>
<!--
+An element defining a proxy class to be used for management. The proxy
class must have a constructor that takes an
+java.lang.Object as its only parameter that is the object to managed.
+
+It defines:
+
+name the name of the proxy class. it will be instantiated and
passed an instance of the class to be used for
+ management.
+-->
+<!ELEMENT proxy EMPTY >
+ <!ATTLIST proxy
+ name CDATA #REQUIRED
+ >
+
+<!--
an element defining an attribute that can be get and/or set on the
managed object.
@@ -103,5 +117,4 @@
name CDATA #REQUIRED
description CDATA #IMPLIED
type CDATA #IMPLIED
- >
-
+ >
\ No newline at end of file
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>