You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Amit Jain (JIRA)" <ji...@apache.org> on 2014/09/30 09:29:01 UTC
[jira] [Updated] (OAK-329) XPath parser too loose on type checks
[ https://issues.apache.org/jira/browse/OAK-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amit Jain updated OAK-329:
--------------------------
Fix Version/s: (was: 1.1)
1.1.1
> XPath parser too loose on type checks
> -------------------------------------
>
> Key: OAK-329
> URL: https://issues.apache.org/jira/browse/OAK-329
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: jcr, query
> Reporter: Alex Parvulescu
> Fix For: 1.1.1
>
>
> Failing test: UpperLowerCaseQueryTest#testInvalidQuery
> The following query is expected to fail as invalid:
> {noformat}
> //*[fn:lower-case(@foo) = 123]
> {noformat}
> I suspect this is because of property type checks, 'lower-case' has as return type 'string' and 123 is 'int'.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)