ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ODE-807) Infinite Loop when locating unresolved functions in XPath expression
Date Tue, 08 Jun 2010 15:16:11 GMT

    [ https://issues.apache.org/jira/browse/ODE-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876692#action_12876692
] 

Hudson commented on ODE-807:
----------------------------

Integrated in ODE-trunk-jdk6 #279 (See [http://hudson.zones.apache.org/hudson/job/ODE-trunk-jdk6/279/])
    ODE-840 - Fix XPath extraction regex that caused regression from ODE-807 fix.


> 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: 1.3.3, 2.0-beta1, 2.0-beta2
>            Reporter: David Carver
>             Fix For: 1.3.4
>
>         Attachments: ode1.x-807-v1.txt
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message