jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <martin.coo...@tumbleweed.com>
Subject [BUG] Attribute test always succeeds for <x:when>
Date Fri, 26 Apr 2002 18:56:19 GMT
When using the following code:

  <x:when select="@attr='value'">

the <x:when> test always succeeds, regardless of the value of the 'attr'
attribute. However, if I use the same select expression in <x:out> like

<x:out select="@attr='value'"/>

it is evaluated, and prints true or false, correctly.

In case it matters, I'm doing this inside an <x:forEach> loop.

I've tried this with Beta 2 and also with the 4/26 nightly build.

Martin Cooper

To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>

View raw message