Fixed whitespace processing

This commit is contained in:
2025-04-12 19:59:25 +02:00
parent 9564879edc
commit c2bf422363
3 changed files with 47 additions and 4 deletions

View File

@@ -146,7 +146,7 @@ mod tests {
#[test]
fn test_delete_with_attribute() {
let schema_text = std::fs::read_to_string("../../action_schema.xsd").unwrap();
let input = r#"<delete id="1234567890"/>"#;
let input = r#"<delete id="20250411_170104_361"/>"#;
let mut validator = XmlSchemaValidator::new(&schema_text).unwrap();
validator.append(input).unwrap();
assert!(validator.eof());