Hi all,

a strange thing ist happening:

On Windows XP, Cocoon 2.1.4 has no problems with the following code, on
debian linux cocoon 2.1.4 says:
"
Failed to execute pipeline.

org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.lang.RuntimeException: Can not convert #STRING to a NodeList!

cause: java.lang.RuntimeException: Can not convert #STRING to a NodeList!
"


The Code:
"
<xsl:variable name="project_list"/>             
<xsl:choose>
        <xsl:when test="$client = ''">
                <xsl:variable name="../project_list"
select="/projects/project"/>
        </xsl:when>
        <xsl:otherwise>
                <xsl:variable name="../project_list"
select="/projects/project[client=$client]"/>
        </xsl:otherwise>
</xsl:choose>

<xsl:for-each select="$project_list">

    (...)
"

Does anyone have a clue on this one?

Regards,
Nils
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Nils Köster

[EMAIL PROTECTED]

PGP Public Key: http://www.lolili.de/pgp/[EMAIL PROTECTED]


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

Reply via email to