From: <ale...@jb...> - 2006-01-29 20:40:51
|
"adrian" wrote : Is this supported? What exactly? So far, what I see is what I would expect. Skip works only for the component it is defined on and does not affect its children. Why choice? Why not just <xsd:any namespace="##other" processContents="strict" minOccurs='0'/>? The exception I see running the test is | java.lang.IllegalArgumentException: Null name | at org.jboss.dependency.plugins.AbstractController.getContext(AbstractController.java:101) | at org.jboss.kernel.plugins.dependency.AbstractKernelController.getContext(AbstractKernelController.java:94) | at org.jboss.dependency.plugins.AbstractDependencyItem.resolve(AbstractDependencyItem.java:117) | at org.jboss.dependency.plugins.AbstractDependencyInfo.resolveDependencies(AbstractDependencyInfo.java:128) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:476) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:419) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151) | at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291) | at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:261) | at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117) | at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:95) | at org.jboss.test.kernel.config.support.XMLUtil.<init>(XMLUtil.java:76) | at org.jboss.test.kernel.config.test.AbstractKernelConfigTest.bootstrapXML(AbstractKernelConfigTest.java:69) | at org.jboss.test.kernel.config.test.FactoryXMLTestCase.simpleInstantiateFromFactory(FactoryXMLTestCase.java:53) | at org.jboss.test.kernel.config.test.FactoryTestCase.testSimpleInstantiateFromFactory(FactoryTestCase.java:62) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) | at junit.extensions.TestSetup$1.protect(TestSetup.java:19) | at junit.extensions.TestSetup.run(TestSetup.java:23) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920282#3920282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920282 |