Hi Beat, The sml_xml mode would get too many error print after testing sync with funambol ds. But contact sync get success after the error log print.
Have you ever meet one situation like this? ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// *- parsing UNKNOWN token, ext=undef/SyncML* *- Tag start at 0x4C78027, scanner pos at 0x4C7802E, data:* *3E 0A 3C 53 79 6E 63 48 64 72 3E 0A 3C 56 65 72 44 54 44 3E 31 2E 32 3C 2F 56 65 72 44 54 44 3E * *>_<SyncHdr>_<VerDTD>1.2</VerDTD>* *xmlTag: smlErr 0x2001 (required field content missing) while parsing* *- parsing UNKNOWN token, ext=undef/SyncML* *- Tag start at 0x4C78027, scanner pos at 0x4C7802E, data:* *3E 0A 3C 53 79 6E 63 48 64 72 3E 0A 3C 56 65 72 44 54 44 3E 31 2E 32 3C 2F 56 65 72 44 54 44 3E * *>_<SyncHdr>_<VerDTD>1.2</VerDTD>* *xmlAttribute: smlErr 0x2001 (required field content missing) while parsing* *- parsing start token, ext=undef/SyncML: <SyncML> (WBXML 0x2D, tagid=43)* *- Tag start at 0x4C7802F, scanner pos at 0x4C78038, data:* *3E 0A 3C 56 65 72 44 54 44 3E 31 2E 32 3C 2F 56 65 72 44 54 44 3E 0A 3C 56 65 72 50 72 6F 74 6F * *>_<VerDTD>1.2</VerDTD>_<VerProto* *xmlTag: smlErr 0x2001 (required field content missing) while parsing* *- parsing start token, ext=undef/SyncML: <SyncML> (WBXML 0x2D, tagid=43)* *- Tag start at 0x4C7802F, scanner pos at 0x4C78038, data:* *3E 0A 3C 56 65 72 44 54 44 3E 31 2E 32 3C 2F 56 65 72 44 54 44 3E 0A 3C 56 65 72 50 72 6F 74 6F * *>_<VerDTD>1.2</VerDTD>_<VerProto* *xmlAttribute: smlErr 0x2001 (required field content missing) while parsing* *- parsing start token, ext=undef/SyncML: <SyncHdr> (WBXML 0x2C, tagid=42)* *- Tag start at 0x4C78039, scanner pos at 0x4C78041, data:* *3E 31 2E 32 3C 2F 56 65 72 44 54 44 3E 0A 3C 56 65 72 50 72 6F 74 6F 3E 53 79 6E 63 4D 4C 2F 31 * *>1.2</VerDTD>_<VerProto>SyncML/1* *xmlTag: smlErr 0x2001 (required field content missing) while parsing* *- parsing start token, ext=undef/SyncML: <SyncHdr> (WBXML 0x2C, tagid=42)* *- Tag start at 0x4C78039, scanner pos at 0x4C78041, data:* *3E 31 2E 32 3C 2F 56 65 72 44 54 44 3E 0A 3C 56 65 72 50 72 6F 74 6F 3E 53 79 6E 63 4D 4C 2F 31 * *>1.2</VerDTD>_<VerProto>SyncML/1* *xmlAttribute: smlErr 0x2001 (required field content missing) while parsing* *- parsing end token, ext=undef/SyncML: <VerDTD> (WBXML 0x31, tagid=47)* *- Tag start at 0x4C7804E, scanner pos at 0x4C78058, data:* *3E 53 79 6E 63 4D 4C 2F 31 2E 32 3C 2F 56 65 72 50 72 6F 74 6F 3E 0A 3C 53 65 73 73 69 6F 6E 49 * *>SyncML/1.2</VerProto>_<SessionI* *xmlTag: smlErr 0x2001 (required field content missing) while parsing* *- parsing end token, ext=undef/SyncML: <VerDTD> (WBXML 0x31, tagid=47)* *- Tag start at 0x4C7804E, scanner pos at 0x4C78058, data:* *3E 53 79 6E 63 4D 4C 2F 31 2E 32 3C 2F 56 65 72 50 72 6F 74 6F 3E 0A 3C 53 65 73 73 69 6F 6E 49 * *>SyncML/1.2</VerProto>_<SessionI* *xmlAttribute: smlErr 0x2001 (required field content missing) while parsing* *- parsing end token, ext=undef/SyncML: <VerProto> (WBXML 0x32, tagid=48)* *- Tag start at 0x4C7806E, scanner pos at 0x4C78079, data:* *3E 35 3C 2F 53 65 73 73 69 6F 6E 49 44 3E 0A 3C 4D 73 67 49 44 3E 31 3C 2F 4D 73 67 49 44 3E 0A * *>5</SessionID>_<MsgID>1</MsgID>_* ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Thanks -zhoulei 2015-01-22 16:24 GMT+08:00 Beat Forster <[email protected]>: > Hi Zhoulei > > great:-)! Thanks for your feedback. > > Have a good time. > Beat > > > Hi Beat, > > > Its a wonderful try. Thanks all of you guys. Set the "encoding" as a int > value solve the issue. > > > Regards > > -zhoulei > > > 2015-01-21 17:50 GMT+08:00 Beat Forster <[email protected]>: > > Hi Zhoulei > > > the "encoding" is correct. > > > - Use Int8 mode to write this value. > > - Make sure that the profile will be closed before > > starting the sync session to get the value saved. > > > Best Regards > > Beat > > > Hi Patrick, > > > Thanks for your suggestion. And I already try to set the encoding to 2, > also try to define DEFAULT_ENCODING as "SML_XML", all not work. > > > The post content type get wbxml too. Like this:Content-Type: > application/vnd.syncml+wbxml > > > Regards > > > -Zhoulei > > > 2015-01-20 23:56 GMT+08:00 Patrick Ohly <[email protected]>: > > On Tue, 2015-01-20 at 19:04 +0800, zhou lei wrote: > > Dear Lukas, > > > > > > I installing one syncML server which did not support WBXML, I have to > > format the syncML CMD with XML, not WBXML. > > > > > > As I know, libsynthesis already support XML, but I don't know how to > > switch WBXML to XML. Please kindly help on this. > > In the sync profile, set the "encoding" key to 2 instead of 1. See > SDK_manual.pdf for setting keys. I'm not sure where that key > specifically is documented. > > -- > Best Regards, Patrick Ohly > > The content of this message is my personal opinion only and although > I am an employee of Intel, the statements I make here in no way > represent Intel's position on the issue, nor am I authorized to speak > on behalf of Intel on this matter. > > > > _______________________________________________ > os-libsynthesis mailing list > [email protected] > http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis > > > > -- > > ----------------------------------------------- > Beat FORSTER > Dipl. El. Ing. ETH > Dipl. NDS ETHZ in Betriebswissenschaften > Managing Partner > [email protected] > > Synthesis AG SyncML Server & Client Solutions > Badenerstrasse 18, CH-8004 Zürich, Switzerland > Tel (direct): +41 44 440 66 02 > Fax: +41 44 440 66 04 > email: [email protected] > web: http://www.synthesis.ch > ----------------------------------------------- > > > > -- > > ----------------------------------------------- > Beat FORSTER > Dipl. El. Ing. ETH > Dipl. NDS ETHZ in Betriebswissenschaften > Managing Partner > [email protected] > > Synthesis AG SyncML Server & Client Solutions > Badenerstrasse 18, CH-8004 Zürich, Switzerland > Tel (direct): +41 44 440 66 02 > Fax: +41 44 440 66 04 > email: [email protected] > web: http://www.synthesis.ch > ----------------------------------------------- >
_______________________________________________ os-libsynthesis mailing list [email protected] http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis
