Skip to content

Required fields lead to non required element in XSD #162

Closed
@kwin

Description

@kwin

E.g. the required field prefix from https://github.com/apache/maven/blob/master/maven-repository-metadata/src/main/mdo/metadata.mdo#L354-L360 leads to this XSD:

<xs:element minOccurs="0" name="prefix" type="xs:string">

Obsviously the element with name prefix must leave out minOccurs="0" to be required in the XMLs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions