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

Allow Collection(ComplexType) and Collection(PrimitiveType) for Type attribute of ValueTerm

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V4.0_WD01
    • Component/s: CSDL XML
    • Labels:
      None
    • Environment:

      [Proposed]

    • Proposal:
      Hide

      Use similar text as for the Property element in 5.2 The edm:Type Attribute:

      The value of the type attribute MUST be of the form [<anyKeylessTypeReference>][csdl19]. The value of the type attribute MUST resolve to a complex type, entitty type, enumeration type or primitive type, or a collection of complex, entity, enumeration or primitive types.

      Show
      Use similar text as for the Property element in 5.2 The edm:Type Attribute: The value of the type attribute MUST be of the form [<anyKeylessTypeReference>] [csdl19] . The value of the type attribute MUST resolve to a complex type, entitty type, enumeration type or primitive type, or a collection of complex, entity, enumeration or primitive types.
    • Resolution:
      Show
      https://www.oasis-open.org/apps/org/workgroup/odata/download.php/46940/odata-csdl-v1.0-wd01-2012-09-18-RH.doc Accepted: https://www.oasis-open.org/committees/download.php/46960/odata_meeting-8_on-20120920_minutes.html

      Description

      The Type attribute of the ValueTerm element is currently limited to [<simpleIdentifier>][csdl19] or [<qualifiedIdentifier>][csdl19].

      As each model element can have at most one ValueAnnotation for a given ValueTerm and Qualifier, this is too restrictive. We already identified situations where we need a Collection(SimpleType) or Collection(ComplexType) as the Type of a ValueTerm.

      Also a ValueAnnotation is conceptually similar to dynamic Property, so allowing the same set of types for both will increase protocol consistency.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              handl Ralf Handl
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: