cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony" <t...@employer.com.br>
Subject RE: XSP bug
Date Wed, 25 Apr 2001 21:07:50 GMT
Christofer,

Here you are.

Cheers,

Tony.

>
>
> Tony,
>
> I was unable to reproduce your problem.  I added a tag to one of my
> logicsheets that called a tag in another logicsheet that performs an
> <xsp:logic> block.  I then referenced the first tag from an XML file.  The
> logic clearly ran.  I'm also in Cocoon 1.8.2.
>
> You may want to post your actual code, or see if you can reproduce this
> problem in a simple example.
>
> -Christopher
>
>
>
>
> Please respond to cocoon-users@xml.apache.org
>
> To:   <cocoon-users@xml.apache.org>
> cc:
>
> Subject:  XSP bug
>
>
>
> Hi there,
>
> I don't know if this is the right place for this but I found what I think
> to
> be a bug in XSP processor ( cocoon 1.8.2). ( maybe it has been found
> already).
>
> The "<xsp:logic>" XSP tag seems to be ignored by cocoon in a 2 leveled
> logicsheet operation when in the 1 logicsheet, we have a tag of the 2
> logic-sheet inside of a xsp:attribute.
>
> Seems confuse ? Example:
>
> Sequance:
>
> a.xml
> -----
>
> <?xml-logicsheet href="myLogicSheet1.xsl"?>
> <?xml-logicsheet href="myLogicSheet2.xsl"?>
> <?cocoon-process type="xsp"?>
> <xsp:page ..namespace>
> <page>
> <myLogicSheet1:foo1/>
> ...
> ---
>
> myLogicSheet1.xml
> -----------------
> <xsl:template match="myLogicSheet1:foo1">
> <test>
>      <xsp:attribute name="blabla">
>           <myLogicSheet2:foo2/>
>      </xsp:attribute>
> </test>
> </xsl:template>
> --
>
> myLogicSheet2.xml
> -----------------
> <xsl:template match="myLogicSheet2:foo2">
>
> <!-- this will be ignored by the XSP processor-->
> <xsp:logic>
> ..
> </xsp:logic>
>
> <!-- this will work -->
> <xsp:expr> .. </xsp:expr>
> hello
> </xsl:template>
> --
>
>
> - Tony
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

Mime
View raw message