<?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>10960</bug_id>
          
          <creation_ts>2010-10-01 15:54:23 +0000</creation_ts>
          <short_desc>Eventing: MaxExpires assertion needs a min value</short_desc>
          <delta_ts>2011-02-01 18:26:45 +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>LC</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></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>40451</commentid>
    <comment_count>0</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2010-10-01 15:54:23 +0000</bug_when>
    <thetext>Right now Eventing (and Enum) define policy with:
  &lt;wse:MaxExpires ...&gt; xs:duration &lt;/wse:MaxExpires&gt; ? 

This is fine for defining the max value but it seems like we should also
allow people to say what the minimum value is.  For example, what if someone
only support subscriptions for exactly one year.  Using the above they can
only say that the max is one year but the client will never know that they 
can&apos;t specify something less than a year either.

This becomes even more important with an endpoint that only support
indefinite expirations - meaning just PT0s (explicitly or implicitly).
Putting PT0S in the above doesn&apos;t tell the client that any value other than
PT0S will be rejected.

Proposal:

Change it to:

  &lt;wse:ExpiresRange min=&quot;xs:duration&quot; max=&quot;xs:duration&quot; ... /&gt;

And mandate that min &lt;= max.

Do this for both enum and eventing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40563</commentid>
    <comment_count>1</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2010-10-04 16:59:47 +0000</bug_when>
    <thetext>To expand proposal:
default min=0
default max=PT0S</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>