Merging PIDF documents from multiple sources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Merging PIDF documents from multiple sources

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@xxxxxxxx
https://www1.ietf.org/mailman/listinfo/ietf

[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Fedora Users]