media-io / xml-schema

Generate rust code (structures and enum) from XSD
MIT License
53 stars 29 forks source link

Element Ref field Implementation #44

Closed kurotakazuki closed 6 months ago

kurotakazuki commented 6 months ago

Currently, following examples are not working.

<xs:sequence>
  <xs:element ref="OwnedType"/>
</xs:sequence>
<xs:sequence>
  <xs:element ref="OwnedType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>

So, I added field implementation for Element ref attribute.

MarcAntoine-Arnaud commented 6 months ago

@kurotakazuki may I ask you to fix the clippy error ?

kurotakazuki commented 6 months ago

@kurotakazuki may I ask you to fix the clippy error ?

Ok. I fixed not to use format!.