Fix grammar. Stop parsing on error. New error on closed singleton tag.