diff --git a/src/element.rs b/src/element.rs index cf9ee35..1f8a190 100644 --- a/src/element.rs +++ b/src/element.rs @@ -917,3 +917,14 @@ fn test_from_reader_with_prefix() { assert_eq!(elem.unwrap(), elem2); } + +#[test] +fn parses_spectest_xml() { // From: https://gitlab.com/lumi/minidom-rs/issues/8 + let xml = r#" + + + + "#; + let mut reader = EventReader::from_str(xml); + let _ = Element::from_reader(&mut reader); +}