OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

tamie message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: conditional in BPEL


Chuck:
 
How about a modified version of the conditional statement markup in BPEL:
 
<if standard-attributes>
standard-elements
<condition expressionLanguage="anyURI"?>bool-expr</condition>
activity
<elseif>*
<condition expressionLanguage="anyURI"?>bool-expr</condition>
activity
</elseif>
<else>?
activity
</else>
</if>
 
The advantage I see is that it does not introduce a separate switch statement. It reuses the conventional if / elseif / else found in several programming lges and algorithmics.
And the entire statement is within a single xml element....
Any conditional statement, simple or switch-like, starts with <if>.
 
Now, I don't think we need a separate <condition> element.
We could have:
<if condition="...">
<elseif condition="...">
If necessary we could have an optional @exprlang in case the condition is not XPath.
 
opinion?
 
Jacques
 
 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]