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-288) Change default decimal Scale to variable

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

Michael Pizzo commented on ODATA-288:

1) Consider removing VariableScale facet and replace with "variable" value for Scale.
2) I would prefer to keep the scale default=0
3) We also observed we should specify rules around formatting decimal values in the formats. Suggest that we allow/encourage services to "normalize" representations, but don't mandate since there is no additional work on the client to deal with normalized versus non-normalized values.

> Change default decimal Scale to variable
> ----------------------------------------
>                 Key: ODATA-288
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-288
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData CSDL
>    Affects Versions: V4.0_WD01
>            Reporter: Evan Ireland
>             Fix For: V4.0_WD01
> In order to avoid data modelers having to make excessive use of facets, the Decimal primitive type should allow variable Scale by default, rather than defaulting Scale to zero, which effectively makes unqualified edm.Decimal equivalent to xsd:integer.
> We could thereby also eliminate the VariableScale facet.
> (A parallel consideration might be that if Scale=0 is common, then we should add an edm.Integer type).

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]