0 Replies Latest reply on Mar 7, 2008 2:51 PM by adrian.brock

    JBossXB Tests

      I'm going to comment out the failing tests in the annotated xsd pojo tests.
      Its unlikely I'll ever complete these tests, and its the tests that are wrong
      not JBossXB. :-)

      That just leaves one failing test, which is the repeated element problem

       <xsd:complexType>
       <xsd:sequence>
       <xsd:element name="child" type="xsd:string"/>
       <xsd:element name="child" type="xsd:string"/>
       </xsd:sequence>
       </xsd:complexType>
      


      <top xmlns='http://www.jboss.org/test/xml/repeatedElements'>
       <child>one</child>
       <child>two</child>
      </top>
      


      This came from the EJB2.0 schema but I hacked around the problem there
      by pretending it was
       <xsd:sequence minOccurs="2" maxOccurs="2">
       <xsd:element name="child" type="xsd:string"/>
       <xsd:sequence/>