[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Wildcards and JBossXb Builder
alex.loubyansky@jboss.com
do-not-reply at jboss.com
Tue Mar 4 18:24:43 EST 2008
What happens here during wildcard resolution is that the schema for urn:jboss:bean-deployer:2.0 is found but it doesn't have value element as the root element.
The root elements are
"log" wrote :
| org.jboss.xb.binding.sunday.unmarshalling.ElementBinding at 80cac9({urn:jboss:bean-deployer:2.0}beanfactory, type={urn:jboss:bean-deployer:2.0}beanfactoryType)
| org.jboss.xb.binding.sunday.unmarshalling.ElementBinding at 19d75ee({urn:jboss:bean-deployer:2.0}bean, type={urn:jboss:bean-deployer:2.0}beanType)
| org.jboss.xb.binding.sunday.unmarshalling.ElementBinding at e1eea8({urn:jboss:bean-deployer:2.0}lazy, type={urn:jboss:bean-deployer:2.0}lazyType)
| org.jboss.xb.binding.sunday.unmarshalling.ElementBinding at 2db19d({urn:jboss:bean-deployer:2.0}deployment, type={urn:jboss:bean-deployer:2.0}deploymentType)
Also, I realized the XB doesn't behave according to the JAXB spec when XmlAnyElement.lax=false (which is the default).
"javadoc" wrote : f false, all the elements that match the property will be unmarshalled to DOM, and the property will only contain DOM elements.
http://java.sun.com/javaee/5/docs/api/javax/xml/bind/annotation/XmlAnyElement.html#lax()
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134075#4134075
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134075
More information about the jboss-dev-forums
mailing list