Sample 3: Demonstrates endpoints making independent updates to the same items, resulting in conflict
Starting State: v3.xml
Endpoint 1 updates:
Endpoint1 output
file: ep1_v3a.xml
Endpoint 2 updates:
Endpoint2 output
file: ep2_v3a.xml
Merged Result: v4.xml
Notable Observations:
<item>
<sx:sync id="ep1.100" updates="4" deleted="false"
noconflicts="false">
<sx:history sequence="4"
when="2007-01-19T00:14:39Z" by="EP2" />
<sx:history
sequence="3"
when="2007-01-19T00:14:38Z" by="EP2" />
<sx:history
sequence="2"
when="2007-01-19T00:14:38Z" by="EP1" />
<sx:history
sequence="1"
when="2007-01-19T00:14:37Z" by="EP1" />
<sx:conflicts>
<item>
<sx:sync id="ep1.100" updates="4" deleted="false"
noconflicts="false">
<sx:history sequence="4"
when="2007-01-19T00:14:38Z" by="EP1" />
<sx:history
sequence="3"
when="2007-01-19T00:14:38Z" by="EP1" />
<sx:history
sequence="2"
when="2007-01-19T00:14:38Z" by="EP1" />
<sx:history
sequence="1"
when="2007-01-19T00:14:37Z" by="EP1" />
</sx:sync>
<title>Buy groceries</title>
<description>Get milk, eggs,
butter and rolls</description>
</item>
</sx:conflicts>
</sx:sync>
<title>Buy Groceries - DONE</title>
<description>Get milk, eggs,
butter and bread</description>
</item>