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-858) Define meaning of MaxLength for String, Binary, and Stream


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

Michael Pizzo updated ODATA-858:
--------------------------------

    Proposal: 
In XML, use character length for string and octet length for binary/stream

In JSON Schema, the maxlength of these string properties must be the maximum number of characters in the string representation, so we will add byteLength keywords for binary and stream values as the byte length in octets.

> Define meaning of MaxLength for String, Binary, and Stream
> ----------------------------------------------------------
>
>                 Key: ODATA-858
>                 URL: https://issues.oasis-open.org/browse/ODATA-858
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData CSDL, OData JSON CSDL
>    Affects Versions: V4.0_ERRATA02
>            Reporter: Ralf Handl
>             Fix For: V4.0_ERRATA03
>
>
> For String the most natural definition would be character length.
> For Binary this is less clear: is it the number of octets, or the maximum length of the base64url-encoded string?
> For Stream it would seem to be number of octets, i.e. content-length, but with ODATA-482 we might also see base64url-encoded strings in the payload.



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