$ 0 0 I also think the append should be checked if (parser.getText() != null) { content.append(parser.getText());}