Xalan SQL extension question

Here should go questions about transforming XML with XSLT and FOP.
hgilde
Posts: 6

Xalan SQL extension question

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

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

Tue Oct 04, 2005 9:28 pm

doh! That was it, thanx.

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest