Subject: [Simple] Single / multiple tuples

From: Cnaan Oded <[email-masked]>
Date: Mon, 23 Jun 2003 09:29:06 +0300

Multiple tuples
---------------------
The problems mentioned in my previous email can be facilitated if separate
tuples are used to describe each service on the device, however, this causes
data duplication as the device information needs to repeat several times.
This problem can be solved by allowing a tuple to reference another tuple.
In this case, the service tuples would reference the device tuple so that
information is not repeated.
 
<presence>
  <!-- this tuple represents the device itself -->
  <!-- voice may also be considered as a separate service in a separate
tuple -->
  <tuple id="A1">
    <status>
      <basic>online</basic>
      <ext:voice-call>meeting</ext:voice-call> 
    </status>
    <contact>tel:+44-254-54462211</contact>
  </tuple>
 
  <tuple id="A2" device-ref="A1">
    <status>
      <im:im>busy</im:im>
    </status>
    <contact>im:[email-masked]</contact> 
  </tuple>
 
  <tuple id="A3" device-ref="A1">
    <status>
       <ext:ptt>offline</ext:ptt>
    </status>
    <contact>sip:[email-masked]</contact>
  </tuple>
</presence>
 
Note that most of the problems mentioned in the previous email (in
particular 2-5) are not solved by this new structuring and the solutions
suggested for a single tuple are still required.
 
Oded