edm.xsd permits primitive Type for NavigationProperty

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • V4.01_ERRATA01
    • Affects Version/s: V4.01_OS
    • Component/s: CSDL XML
    • None

      https://github.com/oasis-tcs/odata-csdl-schemas/blob/main/schemas/edm.xsd#L147

      <xs:attribute name="Type" type="edm:TTypeName" use="required" />

      and then:

      <xs:simpleType name="TTypeName">
      <xs:union memberTypes="edm:TPrimitiveType edm:TAbstractType edm:TQualifiedName">

      Schema-assisted editing (e.g. VS Code with "XML Language Support by Red Hat") will consider a primitive Type to be valid for a NavigationProperty.

            Assignee:
            Unassigned
            Reporter:
            evan.ireland.2
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: