---------------- END
What's weird though is that it doesn't come back with data, nor with an error message if I run it in SS. If I run the code with commandline java/xalan it does work fine ...
My parser in SS set to Xalan-J.
> -----Original Message-----
> From: stylus-studio-tech Listmanager
> [mailto:listmanager@edn.exln.com]
> Sent: Tuesday, April 08, 2003 9:43 AM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: xalan - sql extension
>
>
> From: "Hans Cobben"
>
> Hi there.
> I'm using SS 4.6 and trying to use the Xalan2 sql extension.
> I've tried to run this code :
>
> ---------------- START
>
>
>
> version="1.0"
> xmlns:sql="org.apache.xalan.lib.sql.XConnection"
> extension-element-prefixes="sql">
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ---------------- END
> What's weird though is that it doesn't come back with data,
> nor with an error message if I run it in SS. If I run the
> code with commandline java/xalan it does work fine ... My
> parser in SS set to Xalan-J.
>
> Someone any clue ?
>
> Hans
>
>
>
> To reply: mailto:stylus-studio-tech.6540@edn.exln.com
> To start a new topic: mailto:stylus-studio-tech@edn.exln.com
> To login: http://edn.exln.com/~SSDN
>
After a private conversation with Hans and some experiments here is the
tricky workaround:
to make the MySQL JDBC driver work you need to copy the JDBC jar content
into \bin\xalan.jar.
Because Stylus use a separate class loader to load the xalan processor
it can't find the JDBC driver class.
We will expose a better mechanism in the next release.