[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: JBossEjbParsingDeployer

adrian@jboss.org do-not-reply at jboss.com
Fri Oct 12 13:26:53 EDT 2007


I think you'll find the problem comes from the namespace.

JBossXB returns null when it doesn't recognise the root element.

It is expecting a root element of:

{jboss-namespace}:jboss

but since it is using the dtd, it is actually getting

{}:jboss

i.e. no namspace.

JBossXB should be fixed generically to throw a message like
:jboss is not a root element {jboss-namespace}:jboss
but equally, JBossXB should be able to "fixup" the namespace
for the case when one isn't provided if you know upfront what the namespace should be.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094716#4094716

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094716



More information about the jboss-dev-forums mailing list