Vishakh PC - 2012-11-15

i wanted to use a case....if loop to compare two strings. But it is giving me parse error.

<config>
<var-def name="welcome">welcome to buddy!</var-def>
<case>
<if condition="${welcome.toString() == ''}"> <--this is the error causing line-->
you are not welcome
</if>
<else>

</else>
</case>
</config>

the error is something like "Token Parsing Error"

could somebody help me with this?