Currently parsing of the jboss.xml descriptor does not
validate that it conforms to the jboss.dtd file. This
has resulted in a number of user errors reported on
the jboss user mail list that were not caught.
Enclosed is an example well formed jboss.xml that is
not valid because of the ejb child element under
enterprise-beans. This should be either session or
entity. Does it make sense to validate the jboss.xml
files against the jboss.dtd to avoid this?