|
From: deloptes <del...@ya...> - 2011-10-31 23:52:46
|
Chris Frey wrote: > On Fri, Oct 28, 2011 at 04:27:02PM +0200, Patrick Ohly wrote: >> This advantage also has a significant downside: the rest of OpenSync has >> no idea about the DevInf of the SyncML peer and thus cannot take that >> into account when reading or writing the local database. It is also not >> possible to provide the capabilities of the local side to the Synthesis >> engine because there is not one single peer locally (group concept of >> OpenSync). >> >> As a result, data will get lost when doing round-trip syncs. > > I'm not a SyncML expert, so I'm not familiar what this "DevInf" > information will be, nor why we would lose it, nor why it might be > important. :-( > > Can you give me an example of what might be missing? > I can't give an example but the DevInf seems to be important for the sync process. I am not sure if we can sync forward to a local DB, than use opensync to sync with the peers and then sync back Here is some introduction to DevInf This document defines the Document Type Definition (DTD) for the XML representation of the Device Information document. This XML document describes the capabilities of the device and is used in SyncML data synchronization protocol operations. Data synchronization provides the means for two different networked object stores to remain in identical states. Different forms of data synchronization can be categorized into one of a number of topologies, based on the architecture used by a data synchronization server, or sync engine. Sync engines need to understand the features of a device they synchronize with. This information is often stored in a Device Information document on the target device. [syncml_devinf_v11_20020215.pdf, p.1] * there are too many docs there :-) but I don't find a single one about SyncML v1.2 (http://www.openmobilealliance.org/tech/affiliates/syncml/syncmlindex.html) regards *) full download link http://www.openmobilealliance.org/tech/affiliates/LicenseAgreement.asp?DocName=/syncml/syncml_devinf_v11_20020215.pdf |