Thanks for the information.
See inline comments.
-----Original Message-----
From: Hisham Khartabil [mailto:hisham.khartabil at telio.no]
Sent: Monday, February 13, 2006 4:15 PM
To: Peknik Silvestr
Cc: simple at ietf.org
Subject: Re: [Simple] problem with filters and resource lists
On Feb 13, 2006, at 3:13 PM, <Silvestr.Peknik at tietoenator.com> wrote:
Hello,
I found another thing I need help with.
3.3 (draft-ietf-simple-event-filter-funct-05):
...
A SUBSCRIBE request destined to a list URI [4] MAY include multiple
filters specific to individual resources. This is achieved by
including multiple <filter> elements with different URIs of
resources
in each of those elements. This resource specific filter overrides
any list specific filter, if any. The list specific filter may or
may not include a URI.
So I guess the filters do not stack. If I have filter without uri and
another one with particular uri, only the one with particular uri is
applied to the affected resource. Right?
Not quite. The text should be interpreted as saying that the individual
resource specific filter is applied first.
Silvestr: ok thanks, it is now clear to me.
Now consider following situation. I have list1 at 1.com (RLS1) and
list2 at 2.com (RLS2). List2 is one of the resources in list1. List2
contains bob at 1.com. A subscription to list1 carries filters for bob
(F1)
and for list2 (F2). F2 is propagated to the subscription to list2.
RLS2
subscribes back to RLS1 to bob and propagates F2.
Why is F2 being propagated?
Hisham
Silvestr: I guess you mean the second propagation - you're right it is
my fault, F2 is not being propagated but anyway it is applied to bob
because it applies to all resources in list2.
The result of is the same - bob is filtered by both F1 and F2. Is it
correct?