pub fn parse_one_document( buffer: &String, file: &Path, ) -> Result<Document, Error>
Parses a string buffer into a Document. file is used for error reporting.
buffer
file