| Hi alanbos, Thanks for the test case. So we discussed it with Marko and we think it was an unsupported "misfeature" of 4.3.x. The XML configuration should allow you to annotate your classes in the same way as the annotations so you shouldn't be able to add XML constraints where you wouldn't be able to add annotation constraints. If you want to add constraints to a specific subclass, you need to override the method as you would do with annotations. That being said, we shouldn't ignore this and we should throw an exception at bootstrap. That's what we will do starting from 6.1. I know it's not the outcome you hoped for but at least it's going to be consistent. |