Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-237 Run Jackrabbit query tests
  3. OAK-329

XPath parser too loose on type checks

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • jcr, query
    • None

    Description

      Failing test: UpperLowerCaseQueryTest#testInvalidQuery

      The following query is expected to fail as invalid:

      //*[fn:lower-case(@foo) = 123]
      

      I suspect this is because of property type checks, 'lower-case' has as return type 'string' and 123 is 'int'.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stillalex Alex Deparvu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: