<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 17, 2013 at 10:33 AM, Hardy Ferentschik <span dir="ltr"><<a href="mailto:hardy@hibernate.org" target="_blank">hardy@hibernate.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">To comment on one of my own questions :-) :<br>
<div class="im"><br>
On 17 Jan 2013, at 4:48 PM, Hardy Ferentschik <<a href="mailto:hardy@hibernate.org">hardy@hibernate.org</a>> wrote:<br>
<br>
> * Using the ${expression} syntax causes a backward compatibility issue with BV 1.0 where '$' was used as literal, e.g. ${amount} would be $10 in BV 1.0<br>
> whereas now it would be just 10. Maybe '#' would be a better marker for EL expressions or to be 100% correct a configuration flag would be needed.<br>
<br>
</div>One way around this would be to give potential BV 1.0 style message parameter interpolation precedence over EL message expressions. In the case of<br>
'${amount}' first an attempt must be made to interpolate '{amount}', before interpolating '${amount}' as an EL expression. With this precedence rule ${amount}<br>
would become e.g. $10 before EL evaluation would kick in.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>I think I like this direction.<br><br></div><div>Matt<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888">
--Hardy<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
beanvalidation-dev mailing list<br>
<a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</a><br>
</div></div></blockquote></div><br></div></div>