[
https://issues.apache.org/jira/browse/OAK-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478979#comment-13478979
]
Thomas Mueller commented on OAK-329:
------------------------------------
I wonder what the spec says about automatic value type conversion from integer
to string or from string to integer.
> 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
> Reporter: Alex Parvulescu
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira