cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tinu <t...@email.ch>
Subject patch for EQSL - clob support in esql:get-xml
Date Fri, 15 Mar 2002 09:20:52 GMT

Found! 

It seems that an exception is not caught appropriately within the esql.xsl,
which was not thrown in the older version. By inserting in my xsp a try
clause, everything works fine. I'll tried to include it into the esql.xsl, but
the nesting of expressions prohibited this (this incredible mix of XSLT and
Java)

my workaround in the xsp page is:

      <esql:connection>
        <xsp:logic> try{</xsp:logic>

        ===== here comes my database query =====

        <xsp:logic>
         }catch (Exception e){
            getLogger().error("Could not get String or Clob", e);
        }
        </xsp:logic>
      </esql:connection>

everything else seems to work fine with mysql.

Cheers 

Martin

-- 

Martin Lüthi
Dr. sc. nat.

wyona:research&development
hardstrasse 219
8005 Zürich

tel: 01 272 91 61
mel: martin.luethi@wyona.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message