Thank you, Morris

-----Urspr�ngliche Nachricht-----
Von: Morris Kwan [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 24. Februar 2004 17:21
An: Lenharcik, Juraj
Cc: [EMAIL PROTECTED]
Betreff: Re: XSLTC with SQL extension






Hi, Juraj

SQL extension is not supported in XSLTC at the moment. You can refer to the
page (http://xml.apache.org/xalan-j/extensions_xsltc.html) for more
information on what extensions are supported in XSLTC.

Regards,

Morris Kwan
XSLT Development
IBM Toronto Lab
Tel: (905)413-3729
Email: [EMAIL PROTECTED]



                                                                           
             [EMAIL PROTECTED]                                             
             -systems.com                                                  
                                                                        To 
             02/24/2004 11:04          [EMAIL PROTECTED]        
             AM                                                         cc 
                                                                           
                                                                   Subject 
                                       XSLTC with SQL extension            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hello,

I have got an problem with the compile of my sheets which including the SQL
extension. I get this exception:

     [java]   Fehler beim ?berpr�fen des Typs des Ausdrucks
'FilterParentPath(funcall(org.apache.xal
an.lib.sql.XConnection:getError, []), step("child", 14))'.

==> Error while check of the statement ......

I tried to cast the type to string and node-set without any effects.

                         <xsl:if test="not(boolean(sql:connect($db,
$driver, $datasource, $username, $passwd)))">
                                     <xsl:value-of
select="log4j:traceError('Error connecting to the database: RASANT')"/>
                                     <xsl:variable name="errorMsg">
                                                 <xsl:value-of
select="string(sql:getError($db)/ext-error)"/>
                                     </xsl:variable>
                                     <xsl:value-of
select="log4j:traceError($errorMsg)"/>
                         </xsl:if>

Does someone see an error. Or does anyone knows how to cast these types?

Thanks
Juraj

Reply via email to