0 Replies Latest reply on Oct 11, 2007 8:18 AM by Adrian Brock

    Schema validation for ejb-jar.xml

    Adrian Brock Master

      I've turned off schema validation for ejb-jar.xml (for backwards compatibility)
      otherwise some of the tests don't pass that do system property replacement
      or xml enums, e.g. the message driven tests where transaction-type should
      be "container" or "bean" according the schema

       <message-driven>
       <ejb-name>TestMDB</ejb-name>
       <ejb-class>org.jboss.test.messagedriven.beans.TestMessageDriven</ejb-class>
       <messaging-type>javax.jms.MessageListener</messaging-type>
       <transaction-type>${test.messagedriven.transactionType}</transaction-type>
      


      We probably want to revisit this test so we can enable schema validation by default?