StringReader reader = new StringReader(complete);
XQPreparedExpression exp = conn.prepareExpression(reader);
exp.bindString(new QName(DOC), file.getAbsolutePath().replace('\\', '/'), null);
XQResultSequence queryResult = exp.executeQuery();
return processBindingResults(queryResult);
} catch (XQException e) {
throw new FusionTypeCheckException(e);
} catch (XPathException e) {
throw new FusionTypeCheckException(e);