Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1552

edm.xsd permits primitive Type for NavigationProperty

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              evan.ireland.2 Evan Ireland
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: