[jboss-dev-forums] [Design of POJO Server] - Schema validation for ejb-jar.xml

adrian@jboss.org do-not-reply at jboss.com
Thu Oct 11 08:18:44 EDT 2007


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?

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

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



More information about the jboss-dev-forums mailing list