[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Updated: (ODATA-373) Add boolean expressions that can be used in <edm:If>
[ http://tools.oasis-open.org/issues/browse/ODATA-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ralf Handl updated ODATA-373: ----------------------------- Proposal: Add expressions - edm:Eq - edm:Ne - edm:Ge - edm:Gt - edm:Le - edm:Lt - edm:And - edm:Or - edm:Not edm:Not requires one child element of Boolean type edm:IsNull requires one child of any type edm:And and edm:Or require two child elements of Boolean type The other expressions require two child elements of comparable type. Allow edm:If to have only two child elements if and only if it is a direct child of edm:Collection. This is needed to conditionally add elements to a collection, and using edm:Null as the third child does not convey this meaning. Accepted: https://www.oasis-open.org/committees/download.php/49125/odata-meeting-36_on-20130509-minutes.html#odata-373 was: Add expressions - edm:IsNull - edm:Eq - edm:Ne - edm:Ge - edm:Gt - edm:Le - edm:Lt - edm:And - edm:Or - edm:Not edm:Not requires one child element of Boolean type edm:IsNull requires one child of any type edm:And and edm:Or require two child elements of Boolean type The other expressions require two child elements of comparable type. Allow edm:If to have only two child elements if and only if it is a direct child of edm:Collection. This is needed to conditionally add elements to a collection, and using edm:Null as the third child does not convey this meaning. Accepted: https://www.oasis-open.org/committees/download.php/49125/odata-meeting-36_on-20130509-minutes.html#odata-373 Removed edm:IsNull from proposal because it can be replaced by edm:Eq and edm:Null > Add boolean expressions that can be used in <edm:If> > ---------------------------------------------------- > > Key: ODATA-373 > URL: http://tools.oasis-open.org/issues/browse/ODATA-373 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Improvement > Components: OData CSDL > Affects Versions: V4.0_CSD01 > Environment: [Applying] > Reporter: Ralf Handl > Assignee: Martin Zurmuehl > Fix For: V4.0_CSD02 > > > <edm:If> takes a boolean expression as its first argument, but the choice here is pretty limited. For example I'm unable to compare the values of two strings, or the result of two path expressions, or test the result of an expression for "null" -- 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]