pub fn parse<'input>( text: &'input str, allow_dtd: bool, events: &mut dyn XmlEvents<'input>, ) -> Result<(), Error>