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] (ODATA-920) Specify overflow for int data types (-INF, INF, NaN)


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

Ralf Handl updated ODATA-920:
-----------------------------

    Proposal: 
New Proposal:

1) Because annotating numeric values of arrays is problematic, and we are no longer trying to use JSON Schema as our schema language, revert application of the numericValueException annotation and continue the 4.0 literal "INF", "-INF", and "NaN" values.
2) Support these values all numeric types.
3) Support -INF and INF for Date and DateTimeOffset --> OData Temporal Extension


Previously applied proposal from 2016-5-12:

1) Add a new annotation, "odata.numericValueException", with valid values "INF", "-INF" and "NaN".
2) Services don't return the property, just the property annotation specifying the value exception:
  "NumberOfODataUsers@odata.numericValueException":"INF"
3) Could be applied to any numeric type.
4) For 4.01 clients, always return this for all numeric types, including single/double, instead of as property values.

  was:
New Proposal:

1) Because annotating numeric values of arrays is problematic, and we are no longer trying to use JSON Schema as our schema language, revert application of the numericValueException annotation and continue the 4.0 literal "INF", "-INF", and "NaN" values.
2) Support these values all numeric types.


Previously applied proposal from 2016-5-12:

1) Add a new annotation, "odata.numericValueException", with valid values "INF", "-INF" and "NaN".
2) Services don't return the property, just the property annotation specifying the value exception:
  "NumberOfODataUsers@odata.numericValueException":"INF"
3) Could be applied to any numeric type.
4) For 4.01 clients, always return this for all numeric types, including single/double, instead of as property values.


> Specify overflow for int data types (-INF, INF, NaN)
> ----------------------------------------------------
>
>                 Key: ODATA-920
>                 URL: https://issues.oasis-open.org/browse/ODATA-920
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData JSON Format, OData URL Conventions
>    Affects Versions: V4.0_OS
>            Reporter: Martin Zurmuehl
>            Assignee: Michael Pizzo
>              Labels: Proposed
>             Fix For: V4.01_CSD02
>
>
> See ODATA-785 for a description of the issue --> Comments Section.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


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