Document parser states