pub fn parse<'i>( filename: &'i Path, content: &'i str, ) -> Result<Document<'i>, Vec<ParsingError>>
Parse text into a Document object, or return the list of errors encountered.