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-256) Simplify numeric data types

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

Michael Pizzo commented on ODATA-256:

The latest proposal appears to be introducing an "abstract" type that can be applied in some places (i.e., vocabularies) but not others (i.e., properties). While I like the idea, the fact that we use ComplexType in both term definitions and models makes it difficult to enforce restrictions based on the usage.

There are other cases where we've recently added "abstract" typeslike Edm.PrimitiveType, Edm.ComplexType, and Edm.EntityType and had to define rules around what could be used in each of the different contexts.

Before adding more special-use types, I'd like to see if we can rationalize all of these with some easy to understand rules about what types can be used where. 

> Simplify numeric data types
> ---------------------------
>                 Key: ODATA-256
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-256
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData CSDL
>    Affects Versions: V4.0_WD01
>         Environment: [Proposed]
>            Reporter: Ralf Handl
>             Fix For: V4.0_WD01
> Computer history has provided us with a growing number of numeric data types, and quite a few of them are reflected in Edm primitive types.
> Integer types:
> - Byte (0..2^8)
> - SByte
> - Int16
> - Int32
> - Int64
> - Decimal Scale=0
> Fixed-point types
> - Decimal with VariableScale="false", see ODATA-76
> Floating-point types
> - Decimal with VariableScale="true", see ODATA-76
> - Single
> - Double
> Especially for defining vocabularies it would be helpful to have an abstract type Edm.Number that can be applied to any of the numeric primitive 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]