ietf
[Top] [All Lists]

Merging PIDF documents from multiple sources

2006-04-20 06:07:47
Hi 

Im trying to understand what should be the strategy when merging
doucments that were published from different sources.

Should all published person\tuple\device elements be sent to the Watcher
as received?
Or should a merge strategy be implemented? 

For example: 

PUBLISH1
========
<presence>
<tuple id="111">
        ....
</tuple>
<tuple id="112">
        ....
</tuple>
<person id="113">
        ....
</person>
<device id="114">
        ....
</device>
</presence>

PUBLISH2
========
<presence>
<tuple id="211">
        ....
</tuple>
<tuple id="212">
        ....
</tuple>
<person id="213">
        ....
</person>
<device id="214">
        ....
</device>
</presence>

How should the Notify message look like? (assuming the watcher did not
add any filters to the subscription)

Should it contain all the published elements? (like following example)
Or should it contain merged publish elements? (one person/device
element)
Or should it contain just the last published elements? (one
person/device element)


NOTIFY1
========
<presence>
<tuple id="111">
        ....
</tuple>

<tuple id="112">
        ....
</tuple>

<tuple id="211">
        ....
</tuple>

<tuple id="212">
        ....
</tuple>

<person id="113">
        ....
</person>

<person id="213">
        ....
</person>

<device id="114">
        ....
</device>

<device id="214">
        ....
</device>

</presence>


Thanks
Noga Tor


_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www1.ietf.org/mailman/listinfo/ietf
<Prev in Thread] Current Thread [Next in Thread>
  • Merging PIDF documents from multiple sources, Tor Noga <=