<?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>7586</bug_id>
          
          <creation_ts>2009-09-12 00:03:28 +0000</creation_ts>
          <short_desc>Eventing: Expires multiple data types creates interop issue</short_desc>
          <delta_ts>2009-12-08 22:11:09 +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>FPWD</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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="Gilbert Pilz">gilbert.pilz</reporter>
          <assigned_to name="Gilbert Pilz">gilbert.pilz</assigned_to>
          <cc>asirveda</cc>
    
    <cc>david.Snelling</cc>
    
    <cc>dug</cc>
    
    <cc>lli5</cc>
          
          <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>27098</commentid>
    <comment_count>0</comment_count>
    <who name="Gilbert Pilz">gilbert.pilz</who>
    <bug_when>2009-09-12 00:03:28 +0000</bug_when>
    <thetext>WS-Eventing allows the Subscriber to use either an xs:duration or an xs:dateTime for the /wse:Subscribe/wse:Expires value. However, it also allows Event Sources to fault on the use of xs:dateTime. It hints, but doesn&apos;t directly say, that all Event Sources MUST support xs:duration, but some Event Sources MAY also support xs:dateTime.

Note: a proposal for this already exists in the proposal for 7478. In hindsight I realize I should have opened this issue first and addressed it separately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27886</commentid>
    <comment_count>1</comment_count>
    <who name="Li Li">lli5</who>
    <bug_when>2009-09-29 19:12:44 +0000</bug_when>
    <thetext>Proposal at http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Sep/0027.html.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28008</commentid>
    <comment_count>2</comment_count>
    <who name="David Snelling">david.Snelling</who>
    <bug_when>2009-10-02 11:07:58 +0000</bug_when>
    <thetext>
[Action]
  http://www.w3.org/2009/09/ws-evt/Subscribe

[Body]
  &lt;wse:Subscribe ...&gt;
    &lt;wse:EndTo&gt; endpoint-reference &lt;/wse:EndTo&gt; ?
    &lt;wse:Delivery ...&gt; xs:any* &lt;/wse:Delivery&gt;
    &lt;wse:Format Name=&quot;xs:anyURI&quot;? &gt; xs:any* &lt;/wse:Format&gt; ?
    &lt;wse:Expires Minimum=&quot;(xs:dateTime | xs:duration)&quot;? Maximum=&quot;(xs:dateTime | xs:duration)&quot;?&gt;
        (xs:dateTime | xs:duration)
    &lt;/wse:Expires&gt; ?
    &lt;wse:Filter Dialect=&quot;xs:anyURI&quot;? ...&gt; xs:any* &lt;/wse:Filter&gt; ?
    xs:any*
  &lt;/wse:Subscribe&gt;

The Following replaces [Body]/wse:Subscribe/wse:Expires and the paragraphs following.

[Body] /wse:Subscribe/wse:Expires

This OPTIONAL element can be used by the Subscriber to indicate the expiration time of the requested Subscription. The value of this element indicates the desired expiration time for the subscription. The value of this element MUST be between the values of the @Minimum and @Maximum attribute values inclusive.

If the wse:Expires element is present and the event source is not able to grant an expiry time within range indicated by the @Minimum and @Maximum attribute values, it MUST generate a wse:ExpirationTimeExceeded fault. 

If the wse:Expires element in not present and the event source is not able to grant an indefinite subscription, it MUST generate a wse:ExpirationTimeExceeded fault.

[Body] /wse:Subscribe/wse:Expires@min

The implied default is zero. This specifies the minimum expiration time that the event subscriber is willing to accept.

[Body] /wse:Subscribe/wse:Expires@max

The implied default is infinite (no expiry). This specifies the maximum expiration time that the event subscriber is willing to accept.

Examples for information only:

Exact:
   &lt;Expires @min=1h @max=1h&gt; 1h &lt;/Expires&gt; 

Hint:
   &lt;Expires&gt; 1h &lt;/Expires&gt; 

Range:
   &lt;Expires @min=30m @max=2h&gt; 1h &lt;/Expires&gt; 

Indefinite:
   Element not present.

Any:
   &lt;Expires/&gt;

 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28011</commentid>
    <comment_count>3</comment_count>
    <who name="David Snelling">david.Snelling</who>
    <bug_when>2009-10-02 13:21:58 +0000</bug_when>
    <thetext>[Action]
  http://www.w3.org/2009/09/ws-evt/Subscribe

[Body]
  &lt;wse:Subscribe ...&gt;
    &lt;wse:EndTo&gt; endpoint-reference &lt;/wse:EndTo&gt; ?
    &lt;wse:Delivery ...&gt; xs:any* &lt;/wse:Delivery&gt;
    &lt;wse:Format Name=&quot;xs:anyURI&quot;? &gt; xs:any* &lt;/wse:Format&gt; ?
    &lt;wse:Expires min=&quot;(xs:dateTime | xs:duration)&quot;? max=&quot;(xs:dateTime | xs:duration)&quot;? exact=&quot;xs:boolean&quot;?&gt;
        (xs:dateTime | xs:duration) 
    &lt;/wse:Expires&gt; ?
    &lt;wse:Filter Dialect=&quot;xs:anyURI&quot;? ...&gt; xs:any* &lt;/wse:Filter&gt; ?
    xs:any*
  &lt;/wse:Subscribe&gt;

The Following replaces [Body]/wse:Subscribe/wse:Expires and the paragraphs following.

[Body] /wse:Subscribe/wse:Expires

This OPTIONAL element can be used by the Subscriber to indicate the expiration time of the requested Subscription. The value of this element indicates the desired expiration time for the subscription. The value of this element MUST be between the values of the @min and @max attribute values inclusive. If the request is malformed in this way the event source MUST generate a wse:InvalidExpirationTime fault.

If the wse:Expires element is present and the event source is not able to grant an expiry time within range indicated by the @min and @max attribute values, it MUST generate a wse:ExpirationTimeExceeded fault. 

If the wse:Expires element in not present and the event source is not able to grant an indefinite subscription, it MUST generate a wse:ExpirationTimeExceeded fault.

[Body] /wse:Subscribe/wse:Expires@min

The implied default is zero. This specifies the minimum expiration time that the event subscriber is willing to accept.

[Body] /wse:Subscribe/wse:Expires@max

The implied default is indefinite (no expiry). This specifies the maximum expiration time that the event subscriber is willing to accept.

[Body] /wse:Subscribe/wse:Expires@exact

The default value is &quot;false&quot;. If this attribute value is &quot;true&quot; both @min and @max have the same value as the wse:Expires element, which MUST be present, and the @min and @max attributes MUST be ignored.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28012</commentid>
    <comment_count>4</comment_count>
    <who name="David Snelling">david.Snelling</who>
    <bug_when>2009-10-02 13:52:23 +0000</bug_when>
    <thetext>
[Action]
  http://www.w3.org/2009/09/ws-evt/Subscribe

[Body]
  &lt;wse:Subscribe ...&gt;
    &lt;wse:EndTo&gt; endpoint-reference &lt;/wse:EndTo&gt; ?
    &lt;wse:Delivery ...&gt; xs:any* &lt;/wse:Delivery&gt;
    &lt;wse:Format Name=&quot;xs:anyURI&quot;? &gt; xs:any* &lt;/wse:Format&gt; ?
    &lt;wse:Expires min=&quot;(xs:dateTime | xs:duration)&quot;? max=&quot;(xs:dateTime | xs:duration)&quot;? exact=&quot;xs:boolean&quot;?&gt;
        (xs:dateTime | xs:duration) 
    &lt;/wse:Expires&gt; ?
    &lt;wse:Filter Dialect=&quot;xs:anyURI&quot;? ...&gt; xs:any* &lt;/wse:Filter&gt; ?
    xs:any*
  &lt;/wse:Subscribe&gt;

The Following replaces [Body]/wse:Subscribe/wse:Expires and the paragraphs following.

[Body] /wse:Subscribe/wse:Expires

This OPTIONAL element can be used by the Subscriber to indicate the expiration time of the requested Subscription. The value of this element indicates the desired expiration time for the subscription. The implied default is indefinite (no expiry). The value of this element MUST be between the values of the @min and @max attribute values inclusive. If the request is malformed in this way the event source MUST generate a wse:InvalidExpirationTime fault.

If the wse:Expires element is present and the event source is not able to grant an expiry time within range indicated by the @min and @max attribute values, it MUST generate a wse:ExpirationTimeExceeded fault. 

[Body] /wse:Subscribe/wse:Expires@min

The implied default is zero. This specifies the minimum expiration time that the event subscriber is willing to accept.

[Body] /wse:Subscribe/wse:Expires@max

The implied default is indefinite (no expiry). This specifies the maximum expiration time that the event subscriber is willing to accept.

[Body] /wse:Subscribe/wse:Expires@exact

The default value is &quot;false&quot; in which case this attribute has no effect. If this attribute value is &quot;true&quot; both @min and @max attributes MUST be ignored and are treated as if they had the same value as the wse:Expires element.


Need a new response type wse:GrantedExpires

    &lt;wse:GrantedExpires&gt;
        (xs:dateTime | xs:duration) 
    &lt;/wse:GrantedExpires&gt; ?

The value of this element indicates the expiration time (or duration) granted by the event source. If this element is missing the granted repiration time is indefinite.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28013</commentid>
    <comment_count>5</comment_count>
    <who name="David Snelling">david.Snelling</who>
    <bug_when>2009-10-02 14:05:00 +0000</bug_when>
    <thetext>
[Action]
  http://www.w3.org/2009/09/ws-evt/Subscribe

[Body]
  &lt;wse:Subscribe ...&gt;
    &lt;wse:EndTo&gt; endpoint-reference &lt;/wse:EndTo&gt; ?
    &lt;wse:Delivery ...&gt; xs:any* &lt;/wse:Delivery&gt;
    &lt;wse:Format Name=&quot;xs:anyURI&quot;? &gt; xs:any* &lt;/wse:Format&gt; ?
    &lt;wse:Expires min=&quot;(xs:dateTime | xs:duration)&quot;? max=&quot;(xs:dateTime | xs:duration)&quot;? exact=&quot;xs:boolean&quot;?&gt;
        (xs:dateTime | xs:duration) 
    &lt;/wse:Expires&gt; ?
    &lt;wse:Filter Dialect=&quot;xs:anyURI&quot;? ...&gt; xs:any* &lt;/wse:Filter&gt; ?
    xs:any*
  &lt;/wse:Subscribe&gt;

The Following replaces [Body]/wse:Subscribe/wse:Expires and the paragraphs following.

[Body] /wse:Subscribe/wse:Expires

This OPTIONAL element can be used by the Subscriber to indicate the expiration time of the requested Subscription. The value of this element indicates the desired expiration time for the subscription. The implied default is indefinite (no expiry). The value of this element MUST be between the values of the @min and @max attributes inclusive. If the request is malformed, the event source MUST generate a wse:InvalidExpirationTime fault.

If the wse:Expires element is present and the event source is not able to grant an expiry time within range indicated by the @min and @max attribute values, it MUST generate a wse:ExpirationTimeExceeded fault. 

[Body] /wse:Subscribe/wse:Expires@min

The implied default is PT0S. This specifies the minimum expiration time that the event subscriber is willing to accept.

[Body] /wse:Subscribe/wse:Expires@max

The implied default is indefinite (no expiry). This specifies the maximum expiration time that the event subscriber is willing to accept.

[Body] /wse:Subscribe/wse:Expires@exact

The default value is &quot;false&quot; in which case this attribute has no effect. If this attribute value is &quot;true&quot; both @min and @max attributes MUST be ignored and are treated as if they had the same value as the wse:Expires element.


Need a new response type wse:GrantedExpires

    &lt;wse:GrantedExpires&gt;
        (xs:dateTime | xs:duration) 
    &lt;/wse:GrantedExpires&gt; ?

The value of this element indicates the expiration time (or duration) granted by the event source. If this element is missing the granted expiration time is indefinite.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28014</commentid>
    <comment_count>6</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-10-02 14:07:39 +0000</bug_when>
    <thetext>resolved with comment #5
also apply to renew</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28025</commentid>
    <comment_count>7</comment_count>
    <who name="Asir V Selvasingh">asirveda</who>
    <bug_when>2009-10-02 15:16:43 +0000</bug_when>
    <thetext>See Hursley F2F discussion http://www.w3.org/2002/ws/ra/9/10/2009-10-01.html#item04 and the associated action - http://www.w3.org/2002/ws/ra/tracker/actions/113</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28036</commentid>
    <comment_count>8</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-10-04 08:27:53 +0000</bug_when>
    <thetext>Inadvertently closed </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29133</commentid>
    <comment_count>9</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-10-27 21:41:00 +0000</bug_when>
    <thetext>resolved with http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Oct/0044.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>