Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-807

Infinite Loop when locating unresolved functions in XPath expression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.3, 2.0-beta1, 2.0-beta2
    • 1.3.4
    • None
    • None

    Description

      An infinite loop will occur in the extractFunctions method, when the following XPath expression is passed into it:

      concat(current-date() + xs:dayTimeDuration(concat("P", $DAYS_TO_NEXT_REMINDER, "D")), "T", "08:30:00.000+08:00")

      The loop happes when location the : in "08:30:00"

      The " gets located, and the index gets reset to the colonIndex, causing an infinite loop to occur.

      I'm working on a patch for this issue now.

      Attachments

        1. ode1.x-807-v1.txt
          7 kB
          David Carver

        Activity

          People

            Unassigned Unassigned
            kingargyle David Carver
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: