Skip to content

Slice is not used for elements with maxOccurs #5

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions