1 Reply Latest reply on Dec 14, 2006 1:38 PM by Ales Justin

    Problems with existing Spring schema and XB binding

    Ales Justin Master

      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)

      Trying to figure out what can cause this did make me find some other problems and new features, but I simply cannot get my first test (DescribeSpringTestCase) working.
      Ant [test] build support for spring-int module is commited, but DescribeSpringTestCase currently surpresses the exception.