tamie message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: conditional in BPEL
- From: "Durand, Jacques R." <JDurand@us.fujitsu.com>
- To: "Morris, Charles, E." <chuck.morris@ngc.com>
- Date: Wed, 24 Sep 2008 17:25:37 -0700
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]