Hi people,

I have a problem in C2.0rc1a with one of my logicsheets. This logicsheet 
uses another builtin taglib, like for instance xsp-request (please have 
a look at the attached test.xsl file). The problem is that the elements 
of the xsp-request taglib are NOT expanded by the XSP generator, so they 
are copied verbatim to the output. The attached test1.xsp file, when 
processed, produces the output that is contained in the attached 
test1.xml file.

This only happens with the RC1a release, whereas everything works 
correctly with 2.0b2. The funny thing is that, if you restart the 
servlet container and remove all work files, it works correctly with 
2.0rc1a but ONLY THE FIRST TIME the page is requested. If you reload the 
page, the bug manifests itself.

I have verified this behavior with Tomcat 4.0 under Linux and with 
Tomcat 3.2.3 under Solaris 8 (BTW, I cannot compile mod_webapp under 
Solaris 8, so I am forced to use Tomcat 3.2.3, but this is a problem for 
the Tomcat list).

        Ugo


-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]
<?xml version="1.0"?>

<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  xmlns:xsp="http://apache.org/xsp";
  xmlns:xsp-request="http://apache.org/xsp/request/2.0";
  xmlns:test="http://caterina.cbim.it/xsp/test/1.0";
>

 <xsl:template match="test:test">
  <para>
   The parameter q is equal to `<xsp-request:get-parameter name="q"/>'
  </para>
 </xsl:template>

 <xsl:template match="@*|*|text()|processing-instruction()">
  <xsl:copy>
   <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
  </xsl:copy>
 </xsl:template>

</xsl:stylesheet>
<?xml version="1.0" encoding="ISO-8859-1"?>

<xsp:page language="java"
          xmlns:xsp="http://apache.org/xsp";
          xmlns:xsp-request="http://apache.org/xsp/request/2.0";
          xmlns:test="http://caterina.cbim.it/xsp/test/1.0";
>

 <page>
  <content>
   <para>
    The parameter q is equal to `<xsp-request:get-parameter name="q"/>'
   </para>
   <test:test/>
  </content>
 </page>

</xsp:page>

<page xmlns:xsp="http://apache.org/xsp"; xmlns:xsp-request="http://apache.org/xsp/request/2.0"; xmlns:test="http://caterina.cbim.it/xsp/test/1.0";>
  
<content>
   
<para>
    The parameter q is equal to `SOMEVALUE'
   </para>
   
<para>  The parameter q is equal to `<xsp-request:get-parameter name="q"/>'  </para>
  
</content>
 
</page>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to