_elementStack.pop();
} else {
throw new WikiDataException(WikiDataException.InvaldInputData, "Duplicate text value for attribute " + attribute.label());
}
} else {
throw new WikiDataException(WikiDataException.InvaldInputData, "Unexpected text value under element " + currentElement.label());
}
} else {
throw new WikiDataException(WikiDataException.InvaldInputData, "Trying to close non-existing element past end of document");
}
} else if (!_elementStack.isEmpty()) {