XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Hans CobbenSubject: xalan - sql extension
Author: Hans Cobben
Date: 08 Apr 2003 09:23 AM
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

Postnext
Ivan PedruzziSubject: RE: xalan - sql extension
Author: Ivan Pedruzzi
Date: 08 Apr 2003 10:10 AM


Hi Hans,

Just to be safe click under View->"Output Window" to see if XalanJ is
printing any stack trace while processing.

What JDK/JRE are you running ?
What OS ?

Ivan Pedruzzi
http://www.stylusstudio.com


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

Postnext
Hans CobbenSubject: RE: xalan - sql extension
Author: Hans Cobben
Date: 08 Apr 2003 10:33 AM
Dear Ivan,

I'm running Win2K and jdk1.3.1_01 (Sun's). The output window remains empty as well...

Hans

Posttop
Ivan PedruzziSubject: RE: xalan - sql extension
Author: Ivan Pedruzzi
Date: 22 Apr 2003 10:22 AM

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.


Ivan Pedruzzi
Progress Software
http://www.stylusstudio.com


> -----Original Message-----
> From: stylus-studio-tech Listmanager
> [mailto:listmanager@edn.exln.com]
> Sent: Tuesday, April 08, 2003 10:53 AM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: RE: xalan - sql extension
>
>
> From: "Hans Cobben"
>
> Dear Ivan,
>
> I'm running Win2K and jdk1.3.1_01 (Sun's). The output window
> remains empty as well...
>
> Hans
>
>
>
> To reply: mailto:stylus-studio-tech.6542@edn.exln.com
> To start a new topic: mailto:stylus-studio-tech@edn.exln.com
> To login: http://edn.exln.com/~SSDN
>

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.