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] Commented: (ODATA-273) Clarify whether derived types MUST introduce new properties


    [ http://tools.oasis-open.org/issues/browse/ODATA-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32400#action_32400 ] 

Michael Pizzo commented on ODATA-273:
-------------------------------------

Yes, derived types should not be required to introduced new properties. We should have clarified this when we added inheritance for complex types.

Should we require properties for a complex type with no base type? we do for entities, because the entity must declare key properties, but this is not the case for complex types. Not requiring properties even for the base type would allow defining a common base "marker" type that other types could derive from.

> Clarify whether derived types MUST introduce new properties
> -----------------------------------------------------------
>
>                 Key: ODATA-273
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-273
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData CSDL v1.0
>    Affects Versions: WD01
>         Environment: [Proposed]
>            Reporter: Ralf Handl
>             Fix For: WD01
>
>
> The current prose spec requires complex types to define one or more properties even if it inherits from a base type.
> For entity types that's not required: it is explicitly stated that they only must have at least one property if they do not specify a base type.
> The XML Schema for CSDL does NOT require complex types to have at least one Property child element, which is consistent with entity types

-- 
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]