Fix if text of <identifier> is empty