pub fn drive_quick_xml<R, S>(
reader: R,
runtime: &mut ValidationRuntime<'_, S>,
schema_set: &SchemaSet,
) -> Result<DriveOutcome, DriveError>where
R: BufRead,
S: ValidationSink,Expand description
Drive a quick-xml stream into runtime, then call
runtime.end_validation().
Validation diagnostics arrive through the sink the runtime was built with. DTD events are silently dropped. Comments and PIs are dropped.