Xalan SQL extension question

Here should go questions about transforming XML with XSLT and FOP.
hgilde
Posts: 6
Joined: Wed Jul 27, 2005 10:54 pm

Xalan SQL extension question

Post by hgilde » Tue Oct 04, 2005 4:26 am

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?

george
Site Admin
Posts: 2100
Joined: Thu Jan 09, 2003 2:58 pm

Post by george » Tue Oct 04, 2005 12:28 pm

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

hgilde
Posts: 6
Joined: Wed Jul 27, 2005 10:54 pm

Post by hgilde » Tue Oct 04, 2005 9:28 pm

doh! That was it, thanx.

Post Reply