I went through the elements in jboss_5_1.xsd and listed those that couldn't find being used by EJB3. So I consider them EJB2 legacy and am going to remove them for metadata GA.
Does this mean, that the jboss.xml (with jboss_5_1 xsd) is only meant for EJB3 applications? So EJB2.x applications should use older xsd declarations in the jboss.xml?
Yes, jboss.xml for EJB2 references DTDs.
Alexey, just go ahead, I don't see people willing to provide more input on this.
But if someone needs those of those elements, he'll have to add it back himself :-)
No, regression means rollback.
Fact of the matter is that this case shows that jboss.xsd should not be part of the metadata project. Within Metadata there is no way to assert completeness, because the actual logic that dictates this demand is in the EJB 3 project.
I think I'm going to pull it out. If a component uses EJB 3 metadata it should depend on an EJB 3 component anyway.