← Prev in month ← Prev in thread
Next in thread → Next in month →

Issue - R2 - Zero or Negative Duration Values

From
ws-bpel issues list editor
Date
2006-09-10T22:34:12+00:00
ID
Thread
Issue - R2 - Zero or Negative Duration Values
This issue has been added to the wsbpel issue list with a status of "received".
The status will be changed to "open" if a motion to open the issue is proposed and that
motion is approved by the TC. A motion could also be proposed to close it without
further consideration. Otherwise it will remain as "received".

The issues list is posted as a Technical Committee document to the 
OASIS WSBPEL TC pages
on a regular basis. The current edition, as a TC document, is the most recent version of 
the document entitled  in the 
"Issues" folder of the WSBPEL TC document list
- the next posting as a TC document will include this issue.
The list editor's working copy, which will normally include an issue when it is announced, is available at 
this constant URL.

Issue - R2 - Zero or Negative Duration Values
Status: received

Date added: 10 Sep 2006

Date submitted: 07 September 2006

Submitter: Dieter Koenig

Description: The XML Schema data type "duration" allows zero or negative values (see http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#duration):
"An optional preceding minus sign ('-') is allowed, to indicate a negative duration".

The WS-BPEL 2.0 specification (public review draft) is silent w.r.t. the behavior if a specified duration has a zero or negative value.

Submitter's proposal: I propose that language is added which specifies that

wait and onAlarm are immediately executed if a specified duration has a zero or negative value

zero or negative values are disallowed for repeatEvery

10.7. Delayed Execution - Wait
Add to the end of the first paragraph: "If a specified duration value is zero or negative then the wait activity completes immediately."

11.5. Selective Event Processing – Pick
Add to the end of the second bullet in the second paragraph: "If a specified duration value is zero or negative then <onAlarm> event occurs immediately. Again, the handling of race conditions is implementation dependent."

12.7.2. Alarm Events
Add after the fourth sentence in the first paragraph: "If the specified duration value is zero or negative then the <onAlarm> event is executed immediately.". Add to the end of the first paragraph: "If the specified duration value is zero or negative then the standard fault bpel:invalidExpressionValue MUST be thrown."

12.7.4.1. Alarm Events
Add to the end of the first paragraph: "If the specified duration value is zero or negative then the standard fault bpel:invalidExpressionValue MUST be thrown."

Changes: 10 Sep 2006 - new issue

To comment on this issue (including whether it should be accepted), please follow-up to this announcement on the 
 list (replying to this message should automatically send your message to that list), or ensure
the subject line as you send it starts "Issue - R2 - [anything]" or is a reply
to such a message. If you want to formally propose a resolution to an open issue, please start the subject line 
"Issue - R2 - Proposed resolution", without any Re: or similar.

To add a new issue, 
see the issues procedures document
← Prev in month ← Prev in thread
Next in thread → Next in month →