If the document ends one newline, it is ignored.
If it is two or more, then that generates an error.

Ancestors