resumed = true;
} else {
unzipPackage();
Document doc = loadQTIDocument();
if(doc!=null) {
ParserManager parser = new ParserManager();
qtiDocument = (QTIDocument)parser.parse(doc);
// grab assessment type
Metadata meta = qtiDocument.getAssessment().getMetadata();
String assessType = meta.getField(AssessmentInstance.QMD_LABEL_TYPE);
if (assessType != null) {
qtiDocument.setSurvey(assessType.equals(AssessmentInstance.QMD_ENTRY_TYPE_SURVEY));