SyncML chunked data

View: New views
1 Messages — Rating Filter:   Alert me  

SyncML chunked data

by Michael Bell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I get some trouble with large objects and noticed that my mobile sends
the first chunk encapsulated in a CDATA tag.

<data><![CDATA[abcd....]]>

Carriage returns are normalized in such an environment and the
calculated length of the remote peer is correct.

The problem is that the second chunk is only placed between the data tags.

<data>efg...</data>

It looks like libxml normalizes the data and removes the carriage
returns. The result is that the length is wrong and this is signalled as
an error.

So I have two question:

1. Does somebody know what the standards specify if chunked data is used?

2. Does somebody know how I can configure libxml to not normalize the
text data?

Best regards

Michael
--
_______________________________________________________________

Michael Bell                    Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482       ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704       Unter den Linden 6
michael.bell@...   D-10099 Berlin
_______________________________________________________________

X.509 CA Certificates / Wurzelzertifikate

https://pki.pca.dfn.de/hu-berlin-ca/cgi-bin/pub/pki?cmd=getStaticPage;name=index;id=2&RA_ID=0



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

smime.p7s (7K) Download Attachment