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] Updated: (ODATA-401) Replace "substringof" canonical function with "contains"


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

Stefan Drees updated ODATA-401:
-------------------------------

    Resolution: 
https://www.oasis-open.org/committees/download.php/49353/odata-v4.0-wd02-part1-protocol-2013-05-28.docx

https://www.oasis-open.org/committees/download.php/49354/odata-v4.0-wd02-part2-url-conventions-2013-05-28.docx
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/ABNF/odata-abnf-construction-rules.txt?rev=321
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/ABNF/odata-abnf-testcases.xml?rev=321

Accepted: https://www.oasis-open.org/committees/download.php/49557/odata-meeting-41_on-20130613_14-F2F-minutes.html#odata-401


  was:
https://www.oasis-open.org/committees/download.php/49353/odata-v4.0-wd02-part1-protocol-2013-05-28.docx

https://www.oasis-open.org/committees/download.php/49354/odata-v4.0-wd02-part2-url-conventions-2013-05-28.docx
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/ABNF/odata-abnf-construction-rules.txt?rev=321
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/ABNF/odata-abnf-testcases.xml?rev=321


> Replace "substringof" canonical function with "contains"
> --------------------------------------------------------
>
>                 Key: ODATA-401
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-401
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData ABNF Construction Rules, OData Protocol , OData URL Conventions 
>    Affects Versions: V4.0_CSD01
>         Environment: [Applied]
>            Reporter: Michael Pizzo
>            Assignee: Ralf Handl
>             Fix For: V4.0_CSD02
>
>
> The current definition of substringof takes first the string being searched for, and second the string being searched in.
> This is widely held to be the wrong order, especially since other string functions generally take the string as the first argument.
> This issue has long been a source of confusion in OData, made worse by the fact that the documentation often disagreed with the examples, and the documentation has changed several times.
> To prevent any confusion with legacy, I propose we retire the "substringof" function all together and replace it with "contains" with the argument in the more intuitive order (sourcestring, searchtext)

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