goxsd
goxsd copied to clipboard
Slice is not used for elements with maxOccurs
Example XSD:
<xsd:element name="Name" type="xsd:string" minOccurs="0" maxOccurs="3"/>
Generated struct field:
Name string `xml:"Name"`
This is incorrect, as the Name element can appear multiple times.