Blank lines followed by directives end marker, initial empty document?

Trevor McKay <[email protected]> Tue, 03 Dec 2019 17:08:32 -0500
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
Hello!

I've seen that Python3 and some Golang libraries interpret the
following differently, I'm wondering which is correct or if
it's open to interpretation (I've searched the archives and
looked at the spec but I'm not convinced either way)

The case is a set of blank lines, followed by ---, for example a file
containing:

"


---
name: bob
"

Does this represent a single document, with whitespace ignored,
or two documents, with the first being empty?

I've got a frontend and backend disagreeing :)

Best regards,

Trevor McKay