Sample 6: Demonstrates item deletion with conflict
Starting State: v6.xml
Endpoint 1 updates:
Endpoint1 output
file: ep1_v6a.xml
Endpoint 2 updates:
Endpoint2 output
file: ep2_v6a.xml
Merged Result:
v7.xml
Notable Observations:
<item>
<sx:sync id="ep2.100" updates="2" deleted="true"
noconflicts="false">
<sx:history
sequence="2"
when="2007-01-19T00:14:40Z" by="EP2" />
<sx:history
sequence="1"
when="2007-01-19T00:14:37Z" by="EP2" />
<sx:conflicts>
<item>
<sx:sync id="ep2.100" updates="2" deleted="true"
noconflicts="false">
<sx:history sequence="2" when="2007-01-19T00:14:40Z" by="EP1">
</sx:sync>
<title>Return books to library</title>
<description>2 books in total</description>
</item>
</sx:conflicts>
</sx:sync>
<title>Return books to library</title>
<description>2 books in total</description>
</item>