<?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>11894</bug_id>
          
          <creation_ts>2011-01-27 18:12:26 +0000</creation_ts>
          <short_desc>Eventing/Enum: duration in responses</short_desc>
          <delta_ts>2011-09-13 21:33:10 +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>Eventing</component>
          <version>CR</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="notifications mailing list for WS Resource Access">public-ws-resource-access-notifications</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>44806</commentid>
    <comment_count>0</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2011-01-27 18:12:26 +0000</bug_when>
    <thetext>In SubscribeResponse it says that the expires time (when its a duration)
is the time the subscription will expire based on when the subscription was 
created.

However, when this expires time appears in GetStatusResponse and
RenewResponse its not clear what the duration start-time is.
We should clear up if its the start-time of the Subscription or
of the request message.

If its the start-time of the Subscription then I&apos;m not really
sure how useful this is.  If the client uses GetStatus to get
the expires time then there&apos;s a good possibility that they 
don&apos;t have the start-time of the subscription - if they did then
I suspect they would know the expires time they got in the 
SubscribeResponse.

Proposal:
We should make the GrantedExpires time (when its a duration) 
into &quot;how much time is left&quot;.

This applies to enum too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44910</commentid>
    <comment_count>1</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2011-01-31 17:02:18 +0000</bug_when>
    <thetext>Proposal:

Change:
------
When expressed as a duration, the wse:GrantedExpires element designates a time interval that began at the moment the subscription is created. Although this specification cannot dictate when, during the processing of a Subscribe request, a subscription is created, the event source MUST start the expiration interval at or before it transmits the wse:SubscribeResponse message. 
------

to:
-----
When expressed as a duration, the wse:GrantedExpires element designates the
amount of time remaining on this subscription as measured from the moment
the request message was processed. Although this specification cannot dictate when, during the processing of a request, a subscription is manipulate, the 
event source MUST measure the expiration duration from a time that is at or 
before it transmits the response message. 
----

And do the same type of change for Enum</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45618</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2011-02-15 18:21:24 +0000</bug_when>
    <thetext>When expressed as a duration, the wse:GrantedExpires element designates the amount of time remaining on this subscription as measured from the moment the request message was processed. Although this specification cannot dictate when, during the processing of a request message a subscription&apos;s remaining time  is determined, the event source MUST measure the expiration duration from  a time that is at or before the transmission of the response message.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45619</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2011-02-15 18:21:48 +0000</bug_when>
    <thetext>Resolved with comment 2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>