I'm receiving JDBC Connection Failure: org.sqlite.JDBC Is it my code or an incompatibility between saxon-b and sqlitejdbc-v056.jar?
===

I hope somebody can answer this. I'm using saxon-b and sqlitejdbc-v056.jar and it won't connect to a database local to my machine. I've tried changing the database path around, as well as other things. Is there an incompatibility between saxon-b and sqlite?

The connection error is:

JDBC Connection Failure: org.sqlite.JDBC

And the code looks like this:

    <?xml version="1.1" encoding="UTF-8"?>
    <xsl:stylesheet 
        version="2.0"
        exclude-result-prefixes="java saxon xsd xsi xsl"
        extension-element-prefixes="saxon sql"
    
        xmlns:java="http://saxon.sf.net/java-type"
        xmlns:saxon="http://saxon.sf.net/"
        xmlns:sql="java:/net.sf.saxon.sql.SQLElementFactory"
    
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    
        xmlns:user="http://myUniqueName.com/myNamespace">
    
        <xsl:param name="driver" as="xsd:string" select="'org.sqlite.JDBC'"/>
        <xsl:param name="database" as="xsd:string" select="'jdbc:sqlite://Users/me/XCL/XCL_src/db/mydatabse.sqlite3'"/>
        <xsl:output method="text"/>
        <xsl:template match="/">
            <xsl:choose>
            
                <xsl:when test="element-available('sql:connect')">
                
                    <xsl:variable name="connection" as="java:java.sql.Connection">
                        <sql:connect driver="{$driver}" database="{$database}">
                            <xsl:fallback>
                                <xsl:message terminate="yes">SQL extenstions are not installed</xsl:message>
                            </xsl:fallback>
                        </sql:connect>
                    
                    </xsl:variable>
                
                    <xsl:variable name="myelement" as="element()*">
                        <sql:query connection="$connection" table="mutable" column="*" />
                    </xsl:variable>
              
                    <xsl:sequence select="closeconnection" />
                    <sql:close connection="$connection" />
                </xsl:when>
            
                <xsl:otherwise>
                    <xsl:message terminate="yes">sql:connect element is not available</xsl:message>
                </xsl:otherwise>
            
            </xsl:choose>
        </xsl:template>
    
    
    
    Please advise...
    