Erro ao usar taglib XML JSTL - o atributo xml não aceita nenhuma expressão
Estou recebendo o seguinte erro ao tentar usar o taglib JSTL XML:
/server-side-transform.jsp(51,0)
According to TLD or attribute directive in tag file,
attribute xml does not accept any expressions
Estou olhando para os etc etc, mas se alguém souber o que é isso pode me poupar algum tempo, seria apreciado!
Se ajudar, recebo este erro ao executar o código de exemplo
<c:set var="xml">
<paragraph>
This document uses <bold>unusual</bold> markup,
which we want to replace with <bold>HTML</bold>.
</paragraph>
</c:set>
<c:set var="xsl">
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="paragraph">
<p><xsl:apply-templates/></p>
</xsl:template>
<xsl:template match="bold">
<b><xsl:value-of select="."/></b>
</xsl:template>
</xsl:stylesheet>
</c:set>
<x:transform xml="${xml}" xslt="${xsl}"/>
em /server-side-transform.jsp - minhas diretivas taglib são:
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>
e eu tenho standard.jar e jstl.jar em / WEB-INF / lib.