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