On Thu, 2003-07-10 at 08:57, Martin Skopp wrote: > On Wed, 2003-07-09 at 15:14, Jason van Zyl wrote: > > > property names in maven (at least up to b9, don't know about b10) must > > > not contain "-". The torque plugin unfortunately contains two of these > > > which are promptly interpreted by jelly as xxxx.foo - bar.yyy instead > > > of xxxx.foo-bar.yyy > Had problem with the "-" myself and IMHO it would be a nice feature to > support "-" in prop names...
The problem is coming up with a way for the expression parser to decide whether a.b-c.d should be interpreted as "subtract c.d from a.b" or "find the d property of the 'b-c' property of a"? Jexl is an expression language, not just a way to look-up property names. I think the JSTL has moved in the direction of JavaScript, and would allow a["b-c"].d now. Would that keep people happy? It's not the tidiest syntax, but it doesn't break well established practices either. -Mark. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
