diff --git a/xml_schema_derive/src/xsd/schema.rs b/xml_schema_derive/src/xsd/schema.rs index 6c33ccd..09345b2 100644 --- a/xml_schema_derive/src/xsd/schema.rs +++ b/xml_schema_derive/src/xsd/schema.rs @@ -14,9 +14,9 @@ pub struct Schema { #[yaserde(rename = "targetNamespace", attribute)] pub target_namespace: Option, #[yaserde(rename = "elementFormDefault", attribute)] - pub element_form_default: qualification::Qualification, + pub element_form_default: Option, #[yaserde(rename = "attributeFormDefault", attribute)] - pub attribute_form_default: qualification::Qualification, + pub attribute_form_default: Option, #[yaserde(rename = "import")] pub imports: Vec, #[yaserde(rename = "element")]