I did a simple inner complex type naming modifications of spring-beans.xsd, trying to match it as best as possible to our bean-deployer.xsd.
But now I'm stuck with wrong interceptor being used while trying to handle my xml - so I get a CCE.
Caused by: java.lang.ClassCastException: org.jboss.beans.metadata.plugins.AbstractListMetaData at org.jboss.kernel.plugins.deployment.xml.EntryValueInterceptor.add(EntryValueInterceptor.java:41) at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:1034)
Schema used: mc-spring-beans_2_0.xsd
Initializer: org.jboss.spring.deployment.xml.SpringSchemaInitializer
Binding: org.jboss.spring.deployment.xml.SpringSchemaBinding
Helper: org.jboss.spring.deployment.xml.SpringSchemaBindingHelper