In 5.2. ConstraintViolation, the Bean Validation 1.1 spec states that:
isInIterable() returns true if the node represents an object contained in an Iterable or in a Map, false otherwise.
In the RI, isInIterable() also returns true for arrays - and the RI counts on it in various places. We thought it was weird the TCK didn't have a test broken due to this but it's worse than that: the TCK has a test relying on isInIterable() being true for arrays. See:
Our inclination would be to fix the spec as it seems like an error. |