4 Replies Latest reply on May 22, 2006 8:36 AM by adrian.brock

    Unmarshalling problem in microcontainer

      http://cruisecontrol.jboss.com/cc/buildresults/microcontainer-head-testsuite?log=log20060521162647

      One of the recent changes in JBossXB has broken the

      <collection/>
      unmarshalling.

      It is returning "null" for what should be empty collections.
      e.g. kernel/src/resources/org/jboss/test/kernel/deployment/xml/test/C
      ollectionWithCollection.xml
      <?xml version="1.0" encoding="UTF-8"?>
      
      <bean xmlns="urn:jboss:bean-deployer:2.0" class="Dummy">
       <property name="PropertyName">
       <collection>
       <collection/>
       </collection>
       </property>
      </bean>
      


      When one of us has time. :-) It might be an idea to replicate the "org/jboss/test/kernel/deployment/xml/test" tests into the JBossXB
      testsuite since they basically just check the xsd unmarshalling into
      the bean metadata?