Dr J A Gow
2008-01-31 20:52:13 UTC
Folks,
I've just committed the changes to make sync-engine libwbxml-free. I
have tested this with the Opensync 0.3x stuff and it works well for
contacts, tasks and events. At the moment I can't test with the Opensync
0.2x stuff as I don't have OS 0.2x installed on this box. Therefore it
would be helpful if anyone with a bleeding-edge SynCE install and
Opensync 0.2x who can sync, would test this and report problems.
I've left the debug spew in to help with this process - it will be easy
to remove later.
The only problems you are likely to find is related to the fact that our
implementation is now fussy about the correct namespaces being assigned
to the libxml2 node structures - and sometimes this does not seem to
work intuitively across the XSLT transform interface when extension
functions create children. This will manifest itself as an exception
being thrown when the wbxml code can't find the tag in the code page at
the point of conversion. If you get one of these they are quite easy to
fix so please just send me the dump from sync-engine (only the portion
with the exception and, importantly, the XML document immediately before
it) and I will sort it quickly.
Another point is that attribute support is badly broken in our wbxml
implmentation. This does not matter for sync-engine as Airsync XML does
not use attributes - but we should really sort this at some point for
completeness and in case MS change something at a later date and
suddenly decide to start using them!
Have fun.
John.
Excerpt from CHANGELOG:
----------------------
I've just committed the changes to make sync-engine libwbxml-free. I
have tested this with the Opensync 0.3x stuff and it works well for
contacts, tasks and events. At the moment I can't test with the Opensync
0.2x stuff as I don't have OS 0.2x installed on this box. Therefore it
would be helpful if anyone with a bleeding-edge SynCE install and
Opensync 0.2x who can sync, would test this and report problems.
I've left the debug spew in to help with this process - it will be easy
to remove later.
The only problems you are likely to find is related to the fact that our
implementation is now fussy about the correct namespaces being assigned
to the libxml2 node structures - and sometimes this does not seem to
work intuitively across the XSLT transform interface when extension
functions create children. This will manifest itself as an exception
being thrown when the wbxml code can't find the tag in the code page at
the point of conversion. If you get one of these they are quite easy to
fix so please just send me the dump from sync-engine (only the portion
with the exception and, importantly, the XML document immediately before
it) and I will sort it quickly.
Another point is that attribute support is badly broken in our wbxml
implmentation. This does not matter for sync-engine as Airsync XML does
not use attributes - but we should really sort this at some point for
completeness and in case MS change something at a later date and
suddenly decide to start using them!
Have fun.
John.
Excerpt from CHANGELOG:
----------------------