String sql = "SELECT * FROM dctyperegistry WHERE element LIKE \"" + element + "\" AND qualifier";
String sql = "SELECT * FROM dctyperegistry WHERE element LIKE '" + element + "' AND qualifier";
    public static DCType findByElement(Context context, String element,        String qualifier)        throws SQLException    {        String sql = "SELECT * FROM dctyperegistry WHERE element LIKE \"" +            element + "\" AND qualifier";                if (qualifier==null)        {            sql = sql + "=null;";        }        else        {            sql = sql + " LIKE \"" + qualifier + "\";";        }        TableRowIterator tri = DatabaseManager.query(context,            "dctyperegistry",            sql);        // Return the first matching element (if two match there's a problem,        // but not one dealt with here)        if (tri.hasNext())        {            return new DCType(context, tri.next());        }        else        {            // No match means there's no corresponding element            return null;        }    }