<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>1007</bug_id>
          
          <creation_ts>2005-01-10 16:06:19 +0000</creation_ts>
          <short_desc>CHOICE WITH MIXTURE OF BLOCKING AND NON-BLOCKING ELEMENTS</short_desc>
          <delta_ts>2005-09-28 21:40:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WS Choreography</product>
          <component>Last Call Comment: Confirmed Closed</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 2000</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/public-ws-chor-comments/2005Jan/0011.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>--</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Chapman">martin.chapman</reporter>
          <assigned_to name="Martin Chapman">martin.chapman</assigned_to>
          
          
          <qa_contact name="Martin Chapman">martin.chapman</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2817</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Chapman">martin.chapman</who>
    <bug_when>2005-01-10 16:06:19 +0000</bug_when>
    <thetext>If a choice construct has a mixture of blocking and non-blocking
elements, then it is not clear how these should be processed.

&quot;If the choice has Work Units with guard conditions, the first Work Unit
that matches the guard condition is selected and the other Work Units
are disabled.&quot;

Does this mean the &apos;first&apos; with respect to time, or the first in lexical
order?

For example, if the choice construct has two elements, the first one
blocks awaiting some information, while the second element is
non-blocking:

- should the choice construct evaluate the first item and then suspend
until the first element has a known value.

- or should the blocking element be skipped as its value cannot be
determined, and therefore the second element is evaluated?

However, if this second element evaluates to false, then does this mean
that the choice suspends awaiting one of the blocked elements (i.e. the
first element in this case) to be evaluated to true, or until no
elements remain to be evaluated?

The semantics of the choice construct are unclear in this situation.

Regards

Gary and Steve</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4167</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Chapman">martin.chapman</who>
    <bug_when>2005-02-14 20:42:07 +0000</bug_when>
    <thetext>From meeting on 11-jan-05
http://lists.w3.org/Archives/Member/member-ws-chor/2005Jan/att-0002/2005-01-
11_WS-Chor_Notes.txt:

Discussion deferred as deemed to be a technical issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4026</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Chapman">martin.chapman</who>
    <bug_when>2005-03-08 11:01:06 +0000</bug_when>
    <thetext>Discussed at feb-mar 05 F2F:

http://lists.w3.org/Archives/Member/member-ws-chor/2005Mar/att-
0001/Ws_Chor_f2f__Feb-Mar_2005_-0.txt

Summary:
&lt;SRT&gt; The choice ordering structure enables specifying that at most one 
activity 
(as defined by two or more Activity-Notations) MUST be performed.
 Nick: don&apos;t talk about &quot;ambiguity,&quot; it makes development difficult
&lt;SRT&gt; Add to section: Where there is ambiguity (i.e. more than one match at the 
same time) for all roles involved in the matching lexical ordering is used to 
select a match.
&lt;SRT&gt; Where there is more than one match lexical ordering is used to select a 
match.
&lt;SRT&gt; Note for primer: We cannot solve the problem a distributed choice in 
which 
matches may occur at different participants in of different order.
 issue 1007 resolved with above clarification on lexical ordering.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3430</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Chapman">martin.chapman</who>
    <bug_when>2005-05-10 15:04:28 +0000</bug_when>
    <thetext>Steve and Gary have been informed of the group&apos;s decision [1] and we are 
awaiting 
confirmation. Category changed to LCC: Closed.

[1] http://lists.w3.org/Archives/Public/public-ws-chor-
comments/2005May/0010.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3058</commentid>
    <comment_count>4</comment_count>
    <who name="Greg Ritzinger">gritzinger</who>
    <bug_when>2005-05-25 19:10:00 +0000</bug_when>
    <thetext>In 2.5.1.3 Choice instated the sentence:Where there is more than one match
lexical ordering is used to select a match.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6560</commentid>
    <comment_count>5</comment_count>
    <who name="Martin Chapman">martin.chapman</who>
    <bug_when>2005-09-28 21:40:13 +0000</bug_when>
    <thetext>cross checked and closed confirmed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>