cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: C2: xsl:message
Date Wed, 14 Nov 2001 23:20:02 GMT
On Wed, 14 Nov 2001, Mark S. Kent wrote:

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

should be

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

Giacomo

>
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>
>
>


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