"kabir.khan(a)jboss.com" wrote : "alex.loubyansky(a)jboss.com" wrote : So,
valueObject is bound to a wildcard and {urn:jboss:classloading:1.0}capabilities should be
resolved as its content. Perhaps, it cannot be.
| | Can you enable TRACE for org.jboss.xb?
| The trace was too long, but Ales suggested offline I add @XmlRootElement to
CapabilitiesMetaData.
|
| | @XmlType(name="capabilties", propOrder= {"capabilities"})
| | @XmlRootElement(name="capabilities",
namespace="urn:jboss:classloading:1.0")
| | public class CapabilitiesMetaData implements Serializable, Cloneable
| |
|
Yes, for JBossXB to resolve the XmlAnyElement you need to define the top
level elment for "capabilities".
But you shouldn't include the namespace, otherwise it won't version properly
when we reuse the class in urn:jboss-classloading:2.0
You also need to define it in the xsd for xml validation.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218305#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...