[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Issue - 237 - Proposal for vote
Remove the <then> element from the <if> construct. This
will make the <if> syntax more internally consistent with
<elsif> and <else> not having any element to wrap the
activity. The only places that the current draft of the spec references <then> is in XML pseudo-schema, examples and the schema itself (not in the draft) - there is no prose to change: 6.2: change to: <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> 12.2 change to: <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> and <if xmlns:inventory="http://supply-chain.org/inventory" xmlns:FLT="http://example.com/faults"> <condition> bpws:getVariableProperty('stockResult','level') > 100 </condition> <flow> <!-- perform fulfillment work --> </flow> <elseif> <condition> bpws:getVariableProperty('stockResult','level') >= 0 </condition> <throw faultName="FLT:OutOfStock" variable="RestockEstimate"/> </elseif> <else> <throw faultName="FLT:ItemDiscontinued"/> </else> </if> 16.1.3, note that the pcode wouldn't change receive shipOrder if condition shipComplete send shipNotice else itemsShipped := 0 while itemsShipped < itemsTotal itemsCount := opaque // non-deterministic assignment // corresponding e.g. to // internal interaction with // back-end system send shipNotice itemsShipped = itemsShipped + itemsCount change example ... <if> <condition> bpws:getVariableProperty('shipRequest','props:shipComplete') </condition> <sequence> <assign> <copy> <from variable="shipRequest" property="props:itemsCount"/> <to variable="shipNotice" property="props:itemsCount"/> </copy> </assign> <invoke partnerLink="customer" portType="sns:shippingServiceCustomerPT" operation="shippingNotice" inputVariable="shipNotice"> <correlations> <correlation set="shipOrder" pattern="out"/> </correlations> </invoke> </sequence> ... ws-bpel issues list editor wrote:
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]