* @see org.olat.ims.qti.process.Resolver#getQTIDocument()
*/
public Document getQTIDocument() {
//with VFS FIXME:pb:c: remove casts to LocalFileImpl and LocalFolderImpl if no longer needed.
VFSContainer vfsUnzippedRoot = new LocalFolderImpl(fUnzippedDirRoot);
VFSItem vfsQTI = vfsUnzippedRoot.resolve(QTI_FILE);
//getDocument(..) ensures that InputStream is closed in every case.
Document theDoc = QTIHelper.getDocument((LocalFileImpl) vfsQTI);
//if doc is null an error loading the document occured (IOException, qti.xml does not exist)
return theDoc;
}