[JBoss-dev] [ jboss-Bugs-715680 ] Incorrect jboss-service-3-2.dtd

2003-04-04 Thread SourceForge.net
Bugs item #715680, was opened at 2003-04-04 18:31
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=715680group_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
-  1.2
+++ jboss-service_3_2.dtd   5 Apr 2003 01:54:55 -
@@ -123,7 +123,7 @@
   depends
optional-attribute-name=yNamedomain: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


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=715680group_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


[JBoss-dev] [ jboss-Bugs-715680 ] Incorrect jboss-service-3-2.dtd

2003-04-04 Thread SourceForge.net
Bugs item #715680, was opened at 2003-04-04 18:31
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376685aid=715680group_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
-  1.2
+++ jboss-service_3_2.dtd   5 Apr 2003 01:54:55 -
@@ -123,7 +123,7 @@
   depends
optional-attribute-name=yNamedomain: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=detailatid=376685aid=715680group_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


[JBoss-dev] [ jboss-Bugs-715680 ] Incorrect jboss-service-3-2.dtd

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

Category: JBossServer
Group: v3.2
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Han Ming ONG (hanming)
Assigned to: Scott M Stark (starksm)
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
-  1.2
+++ jboss-service_3_2.dtd   5 Apr 2003 01:54:55 -
@@ -123,7 +123,7 @@
   depends
optional-attribute-name=yNamedomain: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: Scott M Stark (starksm)
Date: 2003-04-04 18:50

Message:
Logged In: YES 
user_id=175228

Its been updated.

--

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=detailatid=376685aid=715680group_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