*
* @see org.olat.ims.qti.process.Resolver#getObjectBank(java.lang.String)
*/
public Element getObjectBank(String ident) {
//with VFS FIXME:pb:c: remove casts to LocalFileImpl and LocalFolderImpl if no longer needed.
VFSContainer vfsUnzippedRoot = new LocalFolderImpl(fUnzippedDirRoot);
VFSItem vfsQTI = vfsUnzippedRoot.resolve(ident + ".xml");
//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)
if (theDoc == null) return null;
Element objectBank = (Element) theDoc.selectSingleNode("questestinterop/objectbank");