On Thu, 2008-01-24 at 12:30 +0000, Jonny Lamb wrote: > http://compsoc.dur.ac.uk/~jdl/pywbxml/ > > I wrote this on a train going to London and have only partially got > around to testing it. Work on it would be lovely! > > To test it, one can use the tests in Ole Andre's pywbxml: > > http://synce.svn.sourceforge.net/viewvc/synce/trunk/pywbxml/tests/ >
I've taken this code, fixed it up to make it sync-engine compliant and added what is needed to create XMLToWBXML() (and vice-versa) functions. These directly create the libxml2 representations (no string conversion stage). I can now go wbxml->xml correctly, and will soon be able to go xml->wbxml - I just need to write a few lines. Works well with 'real' test data generated from the phone. Give me a couple of days and we'll have a libwbxml-free sync-engine and pushmail server, assuming we still want to go this way. Thanks for providing this Jonny. BTW where did you get the DTD from? It differs in a few areas from the Airsync requirment and also from the libwbxml implementation? Just curious... John. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ SynCE-Devel mailing list SynCE-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel