2) Yes, but define a type for the override-element such that it only can have our defined values (xsd:restriction on xsd:token)
We can change the XSD until we release the first version, so we'll work through the use-cases over time.
2) yeah. I have add the restriction. please see https://jira.jboss.org/jira/browse/JBMETA-219
1) We also need an attribute to figure out which bean we use bean validation group against, like :
<bean-validation-groups bean-id="org.jboss.jca.test.deployers.spec.rars.ra16standard303jbossra.TestResourceAdapter"> <bean-validation-group>com.mycompany.myproject.bv.Group1</bean-validation-group> <bean-validation-group>com.mycompany.myproject.bv.Group2</bean-validation-group> </bean-validation-groups>
We also need an attribute to figure out which bean we use bean validation group against, like :
The groups should be used for the entire RAR archive IMHO - e.g. if people wants more advanced features they'll use the BV API.