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

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

      [Proposed]

    • 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.
    • 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

      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.

            Assignee:
            handl
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: