Bug 8071 - Enum: Sec 3 intro text isn't accurate w.r.t. EOS
: Enum: Sec 3 intro text isn't accurate w.r.t. EOS
Status: CLOSED REMIND
Product: WS-Resource Access
Enumeration
: FPWD
: PC Windows XP
: P2 normal
: ---
Assigned To: Doug Davis
: notifications mailing list for WS Resource Access
:
:
: hasProposal
:
:
  Show dependency treegraph
 
Reported: 2009-10-26 14:18 UTC by Doug Davis
Modified: 2009-12-08 22:09 UTC (History)
0 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Davis 2009-10-26 14:18:04 UTC
Section 3 say:
- - - - - -
Once the last element in a sequence has been returned, or the enumeration
context has expired, the enumeration context is considered invalid and the
result of subsequent operations referencing that context is undefined. 
- - - - - -

This isn't true.  Later on in the spec its very clear that a
wsen:InvalidEnumerationContext fault MUST be generated - see the Pull
section.

Proposal:
replace the above text with:
- - - - - -
Once the last element in a sequence has been returned, or the enumeration
context has expired, the enumeration context is considered invalid and the
result of subsequent operations referencing that context MUST generate a
wsen:InvalidEnumerationContext fault.
- - - - - -

Also, for consistency, add the following text (taken from the Renew section) 
to the Release section - under the EnumContext description:
- - - - - -
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. 
- - - - - -
Comment 2 Doug Davis 2009-11-06 05:09:44 UTC
agreed proposal from 8070:
http://www.w3.org/Bugs/Public/attachment.cgi?id=781


  翻译: