Page 1 of 1

Xalan SQL extension question

Posted: Tue Oct 04, 2005 4:26 am
by hgilde
I have a failrly simple XSLT document that uses the Xalan SQL extension. It transforms a fairly simple document containing the SQL connection info and some other stuff.

It works great from oXygen, but from the command line every query gets an error: "java.sql.SQLException: Error in Prepared Statement". Obviously, it uses prepared statements, which work from oXygen.

Anyone ever seen this before?

Posted: Tue Oct 04, 2005 12:28 pm
by george
Hmmm... check what Xalan version you get when you run from command line, I suspect that you get whatever is shipped with the JVM you are using. Follow the links below to see how you can make sure you are using a specific Xalan version and also how to check what version is in use:
http://xml.apache.org/xalan-j/faq.html#faq-N100D6
http://xml.apache.org/xalan-j/faq.html#faq-N10064

Best Regards,
George

Posted: Tue Oct 04, 2005 9:28 pm
by hgilde
doh! That was it, thanx.