// generate an XXIndex for the QualityAssessments (runQuality & setQuality) and Cv's
access = new StandardXpathAccess(qcmlFile, indexed_xpaths);
// create an XML element extractor
xmlExtractor = new SimpleXmlElementExtractor();
String encoding = xmlExtractor.detectFileEncoding(qcmlFile.toURI().toURL());
if(encoding != null) {
logger.info("XML file encoding: {}", encoding);
xmlExtractor.setEncoding(encoding);
}