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 2009/02/08 02:00:59 UTC

[jira] Commented: (ODE-251) Compiler should complain if there is more then one activity in if/else blocks.

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

Rafal Rusin commented on ODE-251:
---------------------------------

I saw that xsd validation (against http://docs.oasis-open.org/wsbpel/2.0/OS/process/executable/ws-bpel_executable.xsd) catches such IF problems like in:
            <bpws:if>
                <bpws:condition></bpws:condition>
                <bpws:empty/>
                <bpws:empty/>   
            </bpws:if>

and also similar, like
            <bpws:scope>
                <bpws:empty/>
                <bpws:empty/>
            </bpws:scope>

So I think it's a good idea to add such validation in 
BpelCompiler.java
public OProcess compile(final Process process, ResourceFinder rf)

this will be a syntax checking phase in compilation. 

However we must be aware that in ODE there are numerous extensions like additional options for correlations. So the above schema must be adjusted to it. 

Do you agree with this idea?


> Compiler should complain if there is more then one activity in if/else blocks.
> ------------------------------------------------------------------------------
>
>                 Key: ODE-251
>                 URL: https://issues.apache.org/jira/browse/ODE-251
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Compilation/Parsing
>    Affects Versions: 1.0-incubating, 1.1, 1.1.1
>            Reporter: Tammo van Lessen
>            Priority: Minor
>             Fix For: 2.0
>
>
> see http://ode.markmail.org/search/?q=#query:+page:1+mid:tli3b63onwkrrsjy+state:results

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