Infinite Loop when locating unresolved functions in XPath expression
--------------------------------------------------------------------

                 Key: ODE-807
                 URL: https://issues.apache.org/jira/browse/ODE-807
             Project: ODE
          Issue Type: Bug
    Affects Versions: 2.0-beta2, 2.0-beta1, 1.3.3
            Reporter: David Carver


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.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to