Anyone mind if I rewrite the ServiceConfigurator et al to use JDOM instead of DOM? I think there are too many of these stupid problems to fix economically using DOM.

Thanks
david jencks


On Wednesday, January 22, 2003, at 11:30 AM, SourceForge.net wrote:

Bugs item #672543, was opened at 2003-01-22 17:30
You can respond by visiting:
https://sourceforge.net/tracker/ ?func=detail&atid=376685&aid=672543&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Antman (pra)
Assigned to: Nobody/Anonymous (nobody)
Summary: depends-list does not work according to documentation

Initial Comment:
The documentation for configure() in
ServiceConfigurator says that is should be possible to
have mulitiple depends-list-elements in a depends-list.
This is however only true if you do not include any
whitespace between the elements: ie:

</depends-list-element><depends-list-element>

Works, but not:

</depends-list-element>
<depends-list-element>

The reson is, as far as I can see the snippet:

for (int l = 0; l <
dependsList.getLength(); l++)
{
if (dependsList.item(l).getNodeType() !=
Node.ELEMENT_NODE)
{
continue;
}

because this will not jump to the inner loop; but to
the loop surrounding this loop:
MBeanAttributeInfo[] attributes =
info.getAttributes();
NodeList attrs = mbeanElement.getChildNodes();
for (int j = 0; j < attrs.getLength(); j++)
{



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

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


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to