You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Rafal Rusin (JIRA)" <ji...@apache.org> on 2010/05/08 19:42:48 UTC

[jira] Commented: (ODE-648) Compiler should throw a meaningful error if / expression is empty

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

Rafal Rusin commented on ODE-648:
---------------------------------

Couple notes about it:
1. I think we have to add a global config switch to enable/disable such BPEL validation. It will be disabled by default for now to not make people mad. So it's going to be additional feature. 
2. We have some extensions to BPEL in ODE (like receive route='all' https://issues.apache.org/jira/browse/ODE-377), which need to be moved into separate namespace, like ode/extensions. This way, BPELs will validate properly against original BPEL schema (this is very important). 
3. Performance (xsd caching) - we can ignore it now, since it's only during deployment phase. 


> Compiler should throw a meaningful error if <from>/<to> expression is empty
> ---------------------------------------------------------------------------
>
>                 Key: ODE-648
>                 URL: https://issues.apache.org/jira/browse/ODE-648
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Compilation/Parsing
>    Affects Versions: 1.2, 1.3.2, 1.3.3, 2.0
>            Reporter: Tammo van Lessen
>            Assignee: Tammo van Lessen
>             Fix For: 1.3.5, 2.0-beta3
>
>         Attachments: ode-641v1.txt
>
>
> If the expression is empty, the only error message is from the expression compiler and is quite confusing:
> java.lang.IllegalStateException: XPath string and xpath node are both null
>     at org.apache.ode.bpel.elang.xpath20.compiler.XPath20ExpressionCompilerImpl.doJaxpCompile.
> Fixing this issue will also help if a copy and paste engineer added a BPEL 1.1 <from expression="someexp"/> to a BPEL 2.0 process ;)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.