Provided you imply that this type of nested case is allowed.
> not the sure whether this is so easy. I think the case of nested parameters is not properly covered in the spec atm.
> A few comments inline
>
> On 18 Jan 2013, at 16:31, Gunnar Morling <gunnar@hibernate.org> wrote:
>
> > I think the algorithm should cover for that case, even if we didn't plan for it.
> >
> > In steps 1 - 4 only message parameters are resolved (against the resource bundles and then in step 4 against constraint attributes). Only in step 5 the EL evaluation is performed. There is no loop back to parameter resolution after EL interpolation.
>
> I think that is basically missing. I am not sure whether it is a good idea to perform message parameter resolution within an EL expression.
> I’d rather loop back after EL evaluation and perform another message parameter resolution.
>
> Why would you do that though? Seems like the current algorithm covers that case already?
I think it would be the more natural way of doing it and also inline with how the current algorithm works.
> Wouldn't it get more complicated by doing another loop?