You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Christoph Sturm <ch...@schaumwelt.com> on 2001/02/28 01:11:08 UTC

esql taglib eats exceptions when no esql:error-results tag is present

Hello cocoon-developers!

Is it by design that the esql taglib consumes exceptions when there is
no esql:error-results tag?

if not, you can fix it with this patch:

diff -r1.68 esql.xsl
510a511
>               throw (_esql_exception_<xsl:value-of select="generate-id(.)"/>);

I had a buggy select that just didnt produce any output instead of
throwing an exception, which was quite hard to track down.
  

-- 
Best regards,
 Christoph                          mailto:chrisml@schaumwelt.com