Hibernate Validator 5 compatible support for element constraints
Issue: SPR-15916 Issue: SPR-15839
This commit is contained in:
@@ -194,7 +194,7 @@ public class SpringValidatorAdapter implements SmartValidator, javax.validation.
|
||||
sb.append(']');
|
||||
}
|
||||
String name = node.getName();
|
||||
if (name != null && node.getKind() == ElementKind.PROPERTY) {
|
||||
if (name != null && node.getKind() == ElementKind.PROPERTY && !name.startsWith("<")) {
|
||||
if (!first) {
|
||||
sb.append('.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user