[jboss-dev-forums] [Design of JBossXB] - JBossXB Tests

adrian@jboss.org do-not-reply at jboss.com
Fri Mar 7 14:51:17 EST 2008


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/>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134969#4134969

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134969



More information about the jboss-dev-forums mailing list