Skip XML comments. This avoides problem with the comparing algorithm because with the "comments" field the list is not sorted anymore.
Skip XML comments. This avoides problem with the comparing algorithm
because with the "comments" field the list is not sorted anymore.

For example:

...
<Organisation/>
<!-- Photo/ -->
<Revsision/>
<Sound/>
...

while parsing we will recive somehting like this:

Organisation
comment        <-- breaks the sort
Revsision
Sound

We just skip "comment" in the osync_capabilities_next() function.

Ograngiation
Revision
Sound



git-svn-id: d74bd7aed9ec2d996d31810ce74317c2e68d0add@1590 53f5c7ee-bee3-0310-bbc5-ea0e15fffd5e

ianmartin/opensync,ianmartin/opensync