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

Second CSDL example fails to set IsDefaultEntityContainer="true" in accordance with section 12.1.2

    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:

      [Closed]

      Description

      In the CSDL spec (2012-03-19), section 12.1.2 "The IsDefaultEntityContainer Attribute" states:

      Each metadata document that is used to describe an OData service MUST mark exactly one entity container with this attribute to denote that it is the default.

      But the second CSDL example in section 17.2 has:

      <EntityContainer Name="Model1Container" >
      <EntitySet Name="CustomerSet" EntityType="Model1.Customer" />
      <EntitySet Name="OrderSet" EntityType="Model1.Order" />
      </EntityContainer>

      Note that IsDefaultEntityContainer="true" is missing, which is not in accordance with section 12.1.2.

        Attachments

          Activity

          evan.ireland Evan Ireland (Inactive) created issue -
          Hide
          ralfhandl Ralf Handl added a comment -

          Fixed. Please move ticket to "Resolved" state.

          If the ticket would be "minor" or "trivial" I could move it to "Resolved" myself, according to our ticket processing guidelines.

          Thanks for finding!

          Show
          ralfhandl Ralf Handl added a comment - Fixed. Please move ticket to "Resolved" state. If the ticket would be "minor" or "trivial" I could move it to "Resolved" myself, according to our ticket processing guidelines. Thanks for finding!
          ralfhandl Ralf Handl made changes -
          Field Original Value New Value
          Fix Version/s V4.0_WD01 [ 10247 ]
          evan.ireland Evan Ireland (Inactive) made changes -
          Status New [ 10000 ] Closed [ 6 ]
          ralfhandl Ralf Handl made changes -
          Environment [Closed]
          Status Closed [ 6 ] Open [ 1 ]
          ralfhandl Ralf Handl made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          ralfhandl Ralf Handl made changes -
          Status Resolved [ 5 ] Applied [ 10002 ]
          ralfhandl Ralf Handl made changes -
          Status Applied [ 10002 ] Closed [ 6 ]
          handl Ralf Handl made changes -
          Reporter Evan Ireland [ evan.ireland ] Evan Ireland [ evan.ireland.2 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: