Subject: Merging PIDF documents from multiple sources

From: "Tor Noga" <[email-masked]>
Date: Thu, 20 Apr 2006 16:06:12 +0300

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
[email-masked]
https://www1.ietf.org/mailman/listinfo/ietf