[ http://issues.apache.org/jira/browse/TUSCANY-921?page=comments#action_12449207 ] Jim Marino commented on TUSCANY-921: ------------------------------------
To fix this, a StAXElementLoader needs to be implemented that supports wires. Modifications to the model also need to be made to suppport adding WireDefinitions. If someone is interested in looking at this, I'd be happy to help answer questions. > <wire> element in SCDL causes UnrecognizedElementException > ---------------------------------------------------------- > > Key: TUSCANY-921 > URL: http://issues.apache.org/jira/browse/TUSCANY-921 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Core > Affects Versions: Java-Mx > Reporter: Greg Dritschler > > Using a <wire> element in a composite results in an exception. > org.apache.tuscany.spi.loader.UnrecognizedElementException: > {http://www.osoa.org/xmlns/sca/1.0}wire > [{http://www.osoa.org/xmlns/sca/1.0}wire] > Context stack trace: [application] > at > org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistryImpl.java:90) > at > org.apache.tuscany.core.implementation.composite.CompositeLoader.load(CompositeLoader.java:81) > at > org.apache.tuscany.core.implementation.composite.CompositeLoader.load(CompositeLoader.java:55) > at > org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistryImpl.java:92) > at > org.apache.tuscany.core.loader.LoaderRegistryImpl.load(LoaderRegistryImpl.java:109) > at > org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.loadFromSidefile(CompositeComponentTypeLoader.java:65) > at > org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:57) > at > org.apache.tuscany.core.implementation.composite.CompositeComponentTypeLoader.load(CompositeComponentTypeLoader.java:39) > at > org.apache.tuscany.core.loader.LoaderRegistryImpl.loadComponentType(LoaderRegistryImpl.java:159) > at > org.apache.tuscany.core.deployer.DeployerImpl.load(DeployerImpl.java:101) > at > org.apache.tuscany.core.deployer.DeployerImpl.deploy(DeployerImpl.java:76) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
