                 case XMLStreamConstants.START_ELEMENT:                         break;                      case XMLStreamConstants.END_ELEMENT:                         if (parser.getLocalName().equals("questionReponse")) {                             Question question = new Question(currentCategory, currentQuestion, currentRightAnswer, badAnswers);                             quiz.add(question);                             badAnswers = new LinkedList<>();    