xso: add support for ignoring unknown attributes

This commit is contained in:
Jonas Schäfer 2024-10-03 12:29:10 +02:00 committed by Link Mauve
commit 290460ba9d
9 changed files with 185 additions and 23 deletions

View file

@ -366,7 +366,7 @@ fn new_field(
&xml_namespace,
));
}
let parts = Compound::from_field_defs(field_defs)?;
let parts = Compound::from_field_defs(field_defs, None)?;
Ok(Box::new(ChildField {
default_,