<?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>8072</bug_id>
          
          <creation_ts>2009-10-26 14:28:17 +0000</creation_ts>
          <short_desc>Enum: inconsistency around invalid EnumContext</short_desc>
          <delta_ts>2009-12-08 22:09:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WS-Resource Access</product>
          <component>Enumeration</component>
          <version>FPWD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>REMIND</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>hasProposal</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Doug Davis">dug</reporter>
          <assigned_to name="Doug Davis">dug</assigned_to>
          
          
          <qa_contact name="notifications mailing list for WS Resource Access">public-ws-resource-access-notifications</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>29027</commentid>
    <comment_count>0</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-10-26 14:28:17 +0000</bug_when>
    <thetext>The Pull section says:
- - - - - - -
 The data source MUST fail the request and MUST generate the wsen:InvalidEnumerationContext fault if the data source is able to determine that the enumeration context is invalid for any reason including:

   1. Context replaced in the response to another Pull request
   2. Context completed (i.e. an EndOfSequence has been returned in a Pull response)
   3. Context released
   4. Context expired 
- - - - - - -

Which is sort of ok.  However, later on the spec we talk about how data sources 
SHOULD fault requests messages that use an invalid Enum Context 
(See Renew for an example).

Proposal:
Modify any occurrence of the SHOULD with a MUST, in particular change:
- - - - - - -
If the enumeration context is not valid, either because it has been replaced in the response to another Pull request, or because it has completed (EndOfSequence has been returned in a Pull response), or because it has been Released, or because it has expired, or because the data source has had to invalidate the context, then the data source SHOULD fail the request, and if so, MUST generate a wsen:InvalidEnumerationContext fault. 
- - - - - - -

to a much less annoying verbose paragraph:
- - - - - - -
If the enumeration context is not valid then the data source MUST generate 
a wsen:InvalidEnumerationContext fault.
- - - - - - -

At the same time I&apos;d like to remove the reference in the Pull operation to
&quot;failing requests&quot;. It is an impl choice whether to send the fault so to
be consistent with other specs we should just say what fault MUST be generated
and leave it at that.

So, change:
The data source MUST fail the request and MUST generate the wsen:InvalidEnumerationContext fault...

to:
The data source MUST generate a wsen:InvalidEnumerationContext fault...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29273</commentid>
    <comment_count>1</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-11-03 20:21:14 +0000</bug_when>
    <thetext>Related to this, I came across text like this:
--
 If the consumer does issue a Pull or Release on an invalid enumeration context, the result is undefined: the data source MAY ignore the request or MAY return a wsen:InvalidEnumerationContext fault or MAY take some other action. 
--

we should remove this text as my proposed text clears this up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29303</commentid>
    <comment_count>2</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-11-04 16:50:53 +0000</bug_when>
    <thetext>Joint proposal for 8070, 8071, 8072:
http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Nov/0025.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29380</commentid>
    <comment_count>3</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-11-06 05:09:54 +0000</bug_when>
    <thetext>agreed proposal from 8070:
http://www.w3.org/Bugs/Public/attachment.cgi?id=781</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>