Bugs item #715680, was opened at 2003-04-04 18:31
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=715680&group_id=22866

Category: JBossCMP
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Han Ming ONG (hanming)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect jboss-service-3-2.dtd

Initial Comment:
I know that jboss-service-3-2.dtd is not used to
validate any XML file but it is best to keep it correct.

This concerns the element <depends>. Here's what David
Jencks said:

we do not have a dtd for *-service files because
attributes can have xml
 element values.  AFAIK the only way to cater to this
is with namespaces and
 xml schema.  We may need to do this for jboss 4.

 basically...
 <depends optional-attribute-name="foo">[object name or
another mbean
 dd]</depends>


I have the patch here. Thanks!

%cvs diff -u jboss-service_3_2.dtd      
/Users/Shared/proj/jboss-3.2/DTDs
Index: jboss-service_3_2.dtd
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/resources/org/jboss/metadata/jboss-service_3_2.dtd,v
retrieving revision 1.2
diff -u -r1.2 jboss-service_3_2.dtd
--- jboss-service_3_2.dtd       20 Mar 2003 23:10:48
-0000      1.2
+++ jboss-service_3_2.dtd       5 Apr 2003 01:54:55 -0000
@@ -123,7 +123,7 @@
       <depends
optional-attribute-name="yName">domain:name=y</depends>
    </mbean>
 -->
-<!ELEMENT depends (#PCDATA)>
+<!ELEMENT depends (#PCDATA | mbean)>
 <!-- The optional-attribute-name attribute specifies
the attribute name
 which should be populated with the JMX ObjectName of
the depends element.
 This allows an mbean to have access to the name of the
mbean on which


----------------------------------------------------------------------

>Comment By: Han Ming ONG (hanming)
Date: 2003-04-04 18:37

Message:
Logged In: YES 
user_id=741972

See oracle-service.xml as an example.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=715680&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to