ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthick Sankarachary (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (ODE-646) Error parsing variable names in xquery when expression ends with variable reference
Date Fri, 07 Aug 2009 19:31:14 GMT

     [ https://issues.apache.org/jira/browse/ODE-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karthick Sankarachary reassigned ODE-646:
-----------------------------------------

    Assignee: Karthick Sankarachary

> Error parsing variable names in xquery when expression ends with variable reference
> -----------------------------------------------------------------------------------
>
>                 Key: ODE-646
>                 URL: https://issues.apache.org/jira/browse/ODE-646
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Compilation/Parsing
>    Affects Versions: 1.3.2
>            Reporter: Mark Ford
>            Assignee: Karthick Sankarachary
>            Priority: Minor
>         Attachments: ODE-646.patch
>
>
> XQuery10ExpressionCompilerImpl.getVariableNames(xquery) results in an exception during
the parse when the expression ends with a variable reference. 
> java.lang.StringIndexOutOfBoundsException: String index out of range: 89
> 	at java.lang.String.charAt(String.java:558)
> 	at org.apache.ode.bpel.elang.xquery10.compiler.XQuery10ExpressionCompilerImpl.getVariableNames(XQuery10ExpressionCompilerImpl.java:307)
> 	at org.apache.ode.bpel.elang.xquery10.compiler.XQuery10ExpressionCompilerImpl.doJaxpCompile(XQuery10ExpressionCompilerImpl.java:206)
> 	at org.apache.ode.bpel.elang.xquery10.compiler.XQuery10ExpressionCompilerImpl._compile(XQuery10ExpressionCompilerImpl.java:141)
> 	at org.apache.ode.bpel.elang.xquery10.compiler.XQuery10ExpressionCompilerImpl.compile(XQuery10ExpressionCompilerImpl.java:123)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:558)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:543)
> 	at org.apache.ode.bpel.compiler.AssignGenerator.compileFrom(AssignGenerator.java:188)
> Workaround is to change the expression to have some characters at the end, even if it's
just a comment.

-- 
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