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-1521) Case statement ambiguous with timeOfDay values


Michael Pizzo created ODATA-1521:
------------------------------------

             Summary: Case statement ambiguous with timeOfDay values
                 Key: ODATA-1521
                 URL: https://issues.oasis-open.org/browse/ODATA-1521
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: New Feature
          Components: Protocol, URL Conventions
    Affects Versions: V4.01_OS
            Reporter: Michael Pizzo
             Fix For: V4.01_ERRATA01


Our rules for the Case statement use colons to separate the condition from the value-if-true and value-if-false:

However, timeOfDay also uses colons to separate the parts of a time of day value, including optional seconds:
{code:java}
timeOfDayValueInUrl = hour COLON minute [ COLON second [ "." fractionalSeconds ] ]{code}


However, for timeOfDay values, this is ambiguous. For example:

{{case(CreatedTime eq 10:2:10:11)}}{{}}



--
This message was sent by Atlassian Jira
(v8.3.3#803004)


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