title: conditional check in c:if always fails
body: <p>The c:if test always fails for me and it never gets inside the loop. I am using the following namespaces</p>
  
  <pre><code>xmlns:fn="http://java.sun.com/jsp/jstl/functions"
  xmlns:c="http://java.sun.com/jstl/core"
  </code></pre>
  
  <p>The string ('array') to be split is "Tom and Jerry are GAP1 friends"</p>
  
  <pre><code>&lt;s:decorate template="/layout/display-text.xhtml"&gt;
      &lt;c:set var="array" value="#{_mybean.value}"/&gt;
      &lt;c:set var="space" value="#{fn:split(array, ' ')}"/&gt;
      &lt;c:set var="len" value="#{fn:length(space)}"/&gt;
      &lt;h:outputText value="total length = #{len}"/&gt;&lt;br/&gt;
      &lt;c:forEach begin="0" end="5" var="index"&gt;
          &lt;h:outputText value="index = #{index}, value = #{space[index]}"/&gt;&lt;br/&gt;
          &lt;c:set var="val" value="#{space[index]}"/&gt;
          &lt;c:if test="#{fn:startsWith(val, 'GAP')}"&gt;
              &lt;h:outputText value="Found keyword parameter GAP" /&gt;&lt;br/&gt;
          &lt;/c:if&gt;
      &lt;/c:forEach&gt;
  &lt;/s:decorate&gt;
  </code></pre>