Feed some text into the parser. This may be performed multiple times
per Parser
value, in which case the internal parser state is retained
between computations.
If the third parameter is True
, the parser assumes that this is the
last input and checks that the document was closed correctly.