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] Created: (ODATA-566) 6.2.4 Attribute Scale: clarify allowed range of Scale values


6.2.4 Attribute Scale: clarify allowed range of Scale values
------------------------------------------------------------

                 Key: ODATA-566
                 URL: http://tools.oasis-open.org/issues/browse/ODATA-566
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Bug
          Components: OData CSDL
    Affects Versions: V4.0_CS02
            Reporter: Ralf Handl
             Fix For: V4.0_ERRATA01


The current text says

    A decimal property MAY define a non-negative integer value or variable for the Scale attribute. 
    This attribute specifies the maximum number of digits allowed to the right of the decimal point. 
    The value variable means that the number of digits to the right of the decimal point may vary from zero to the value of the Precision attribute.
    The value of the Scale attribute MUST be less than or equal to the value of the Precision attribute.

Unfortunately this conflicts with the ABNF rule decimalValue that makes the fractional part optional but requires at least one digit in the integer part, so if Precision limits the number of digits to e.g. 10, at most 9 digits can be to the right of the decimal point.

Also the text does not make clear that a numeric Scale value implies a fixed-point number with Scale fractional digits and Precision-Scale integer digits, and that the only variability is to remove leading zeroes from the integer part and trailing zeroes from the fractional part.


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