"kabir.khan(a)jboss.com" wrote :
| My AOPDeployment class
|
| | @XmlElement(name="bean",
namespace="urn:jboss:bean-deployer:2.0",
| |
|
You took me too literally. :-)
The example above was only intended to show
how the annotations work (you were using them wrong), it wasn't intended to be
copied.
That's why I said
anonymous wrote :
| Illustrative example (trying to show how it works):
|
I've removed the elements that are in the MC namespace
which should be handled by the wildcard (@XmlAnyElement) not explicitly listed.
What you've defined is a {urn:jboss:aop-beans:1.0}bean and a
{urn:jboss:bean-deployer:2.0}bean in your namespace that are children
of deployment. But that doesn't override the child elements which will still be
in your namespace.
i.e. both with have {urn:jboss:aop-beans:1.0}constructor
You should let the MC schema define the {urn:jboss:bean-deployer:2.0}bean
and use it as a "wildcard".
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132437#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...