<div dir="ltr">Hi all,<div><br></div><div style>I&#39;m wondering whether it&#39;s legal that one constraint gets validated more than once during one validation operation. The spec seems a bit contradictory in this regard.</div>
<div style><br></div><div style>In section 4.6 &quot;Validation routine&quot; [1] it says:</div><div style><br></div><div style>&quot;[...] this implies that a given validation
    constraint will not be processed more than once per validation.&quot;</div><div style><br></div><div style>Section 4.6.1 &quot;Object graph validation&quot; says though:</div><div style><br></div><div style>&quot;[...] object graph navigation can lead to multiple validations of
        the same constraint and the same object instance but the set of
        constraint validation is deterministic and the algorithm prevents
        infinite loops.&quot;</div><div style><br></div><div style>What is right here? Or is this to say that *only* during graph validation a constraint may be validated multiple times but not e.g. during validation of multiple groups, all of which a constraint is part of?</div>
<div style><br></div><div style>Thanks,</div><div style><br></div><div style>--Gunnar</div><div style><br></div><div style>[1] <a href="http://beanvalidation.org/latest-draft/spec/#constraintdeclarationvalidationprocess-validationroutine">http://beanvalidation.org/latest-draft/spec/#constraintdeclarationvalidationprocess-validationroutine</a><br>
</div><div style>[2] <a href="http://beanvalidation.org/latest-draft/spec/#constraintdeclarationvalidationprocess-validationroutine-graphvalidation">http://beanvalidation.org/latest-draft/spec/#constraintdeclarationvalidationprocess-validationroutine-graphvalidation</a></div>
</div>