Hi,

There is a problem with jexl when testing dotted property names for emptiness. I am using it from jelly through maven:

maven -Ddotted.property.name=foo goal

inside the goal:

<j:if test="${empty(dotted.property.name)}">
 <echo> Empty property </echo>
</j:if>

<j:set var="littlename" value="${dotted.property.name}"/>

<j:if test="${empty(littlename)}">
<echo> Empty little property </echo>
</j:if>

Only the first echo happens.


If I get more time to get the code from CVS working in eclipse and to get my head around Jexl internals, I'll write a unit test.


--
Ryan Hoegg
ISIS Networks
http://www.isisnetworks.net


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to