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] Updated: (ODATA-349) CSDL for Collection types is not clear on nullability of elements


     [ http://tools.oasis-open.org/issues/browse/ODATA-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-349:
-----------------------------

       Proposal: Close without action as CollectionType element has been removed, see ODATA-353
    Environment: [Proposed]
    Description: 
The CSDL spec for edm.CollectionType states:

    "The collection type can define relevant facets for scalar types."

but does not specify what the relevant facets are. Also, it implies that a collection of collections cannot define facets (e.g. Nullable) for the element collections.

Also note thet edm.TypeDefinition does not permit the use of the Nullable facet, so an element type defined by a TypeDefinition cannot help resolve the issue.

So some definite questions:

(1) Does an ordinary Collection type (e.g. "Collection(T)" or "TCollection" where TCollection is defined by a CollectionType without the use of facets) permit null element values?

(2) Can an edm.CollectionType use the Nullable facet for scalar elements?

(3) Can an edm.CollectionType use the Nullable facet for non-scalar elements? (It seems the answer is no).


  was:Please clarify whether collection elements can use the Nullable facet

     Resolution:   (was: The CSDL spec for edm.CollectionType states:

    "The collection type can define relevant facets for scalar types."

but does not specify what the relevant facets are. Also, it implies that a collection of collections cannot define facets (e.g. Nullable) for the element collections.

Also note thet edm.TypeDefinition does not permit the use of the Nullable facet, so an element type defined by a TypeDefinition cannot help resolve the issue.

So some definite questions:

(1) Does an ordinary Collection type (e.g. "Collection(T)" or "TCollection" where TCollection is defined by a CollectionType without the use of facets) permit null element values?

(2) Can an edm.CollectionType use the Nullable facet for scalar elements?

(3) Can an edm.CollectionType use the Nullable facet for non-scalar elements? (It seems the answer is no).
)

Moved Resolution text to Description

> CSDL for Collection types is not clear on nullability of elements
> -----------------------------------------------------------------
>
>                 Key: ODATA-349
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-349
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData CSDL
>    Affects Versions: V4.0_WD01
>         Environment: [Proposed]
>            Reporter: Evan Ireland
>
> The CSDL spec for edm.CollectionType states:
>     "The collection type can define relevant facets for scalar types."
> but does not specify what the relevant facets are. Also, it implies that a collection of collections cannot define facets (e.g. Nullable) for the element collections.
> Also note thet edm.TypeDefinition does not permit the use of the Nullable facet, so an element type defined by a TypeDefinition cannot help resolve the issue.
> So some definite questions:
> (1) Does an ordinary Collection type (e.g. "Collection(T)" or "TCollection" where TCollection is defined by a CollectionType without the use of facets) permit null element values?
> (2) Can an edm.CollectionType use the Nullable facet for scalar elements?
> (3) Can an edm.CollectionType use the Nullable facet for non-scalar elements? (It seems the answer is no).

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