I just tried using xsl:message in Cocoon2 and got a hard-failure screen.
Per the XSLT spec, isn't the message entered supposed to display in the
browser or something?

Tried this:
    <xsl:message terminate="yes">
        <xsl:text>Error occurred - check your data!</xsl:text>
    </xsl:message>

But got the big blue nasty Cocoon2 error screen as a result and this message
did not appear.  "xsl:message" is supposed to "output a message and
optionally terminate the execution of a stylesheet."

All I see in the log is:
/ServerPagesGenerator: Exception in ServerPagesGenerator.generate()
java.lang.RuntimeException: Stylesheet directed termination

Mark


---------------------------------------------------------------------
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