Skip to content

Handling of case sensitive simple types #154

@matzipan

Description

@matzipan

In this XSD, the following type exists:

<xsd:simpleType name="yesNoType">
   <xsd:restriction base="xsd:string">
      <xsd:enumeration value="YES"/>
      <xsd:enumeration value="yes"/>
      <xsd:enumeration value="NO"/>
      <xsd:enumeration value="no"/>
   </xsd:restriction>
</xsd:simpleType>

Because xsd-parser tries to change the case of the enum label from YES to Yes and from yes to YES, they clash.

xsd-parser could try to detect such cases and keep the case.

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