<?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>11703</bug_id>
          
          <creation_ts>2011-01-09 02:15:13 +0000</creation_ts>
          <short_desc>Eventing: error on bad filter expression</short_desc>
          <delta_ts>2011-09-13 21:29:32 +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></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>43950</commentid>
    <comment_count>0</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2011-01-09 02:15:13 +0000</bug_when>
    <thetext></thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43951</commentid>
    <comment_count>1</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2011-01-09 02:20:32 +0000</bug_when>
    <thetext>Eventing and Enum deal with filters slightly differently.
In particular, enum has this text under the definition of &quot;Filter&quot;:
====
If the data source supports filtering and the requested dialect but cannot process the requested filter content, the request MUST fail, and the data source MUST generate a wsen:CannotProcessFilter fault. 
====

In cases where the filter expression is bad (e.g. a syntax error) I believe
that the above text in enum will case a wsen:CannotProcessFilter fault
to be generated.  However, I don&apos;t see a similar fault defined for eventing.
This leads me to believe that we have an interop issue in the case where
someone provides a bad filter to a Subscribe() because the fault returned
is undefined.

Proposal:
add the above text and corresponding fault to eventing.


Additionally, there&apos;s another issue here.  The above fault can only be
generated during subscribe time.  However, not all event sources will
evaluate the expression at that time - some may only do so afterwards
(while processing new events).  Its not clear to me what should happen
in this case.  I&apos;m leaning towards us changing the spec so that when this
happens the Subscription terminates (unexpectedly - e.g. generate an
endSubscription msg) so that the sink knows why its not receiving any
notifications.  But I&apos;d like to discuss this in the group.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44728</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2011-01-25 20:56:23 +0000</bug_when>
    <thetext>remove issue contents after &quot;Additionally&quot;...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44992</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2011-02-01 21:33:26 +0000</bug_when>
    <thetext>resolved as proposed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>