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] Created: (ODATA-310) Second CSDL example fails to set IsDefaultEntityContainer="true" in accordance with section 12.1.2


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

                 Key: ODATA-310
                 URL: http://tools.oasis-open.org/issues/browse/ODATA-310
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: OData CSDL
    Affects Versions: V4.0_WD01
            Reporter: Evan Ireland


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


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