OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ODATA-1552) edm.xsd permits primitive Type for NavigationProperty


Evan Ireland created ODATA-1552:
-----------------------------------

             Summary: edm.xsd permits primitive Type for NavigationProperty
                 Key: ODATA-1552
                 URL: https://issues.oasis-open.org/browse/ODATA-1552
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: CSDL XML
    Affects Versions: V4.0_OS
            Reporter: Evan Ireland


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.




--
This message was sent by Atlassian Jira
(v8.3.3#803004)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]