[Scratchbox-users] missing <!DOCTYPE> tag
Gál László
laszlo.gal at blumsoft.com
Tue Sep 12 11:36:50 EEST 2006
Hi!
I wrote syncml-tcp-obex-server and syncml-tcp-obex-client from
syncml-http-server and syncml-obex-client.
OBEX over TCP connection are made between client and server,
but server quits with an xml parser error. I've found in trace logs that
the xml that client sends is bad: instead of the <!DOCTYPE> tag, there
is 0a!
Thread3082812336.log:[1157982748.398535]
Xml input: <?xml version="1.0"?> 0a <SyncML
xmlns="SYNCML:SYNCML1.1"><SyncHdr><VerDTD>1.1</VerDTD><VerProto>SyncML/1.1</VerProto><SessionID>1</SessionID><MsgID>1</MsgID><Target><LocURI>/</LocURI></Target><Source><LocURI>SYNCML-SYNC</LocURI></Source></SyncHdr><SyncBody><Alert><CmdID>1</CmdID><Data>206</Data><Item><Source><LocURI>Calendar</LocURI></Source><Meta><Type
xmlns="syncml:metinf">text/x-vcalendar</Type></Meta></Item></Alert><Final></Final></SyncBody></SyncML>
So utility xml2wbxml also fails on this xml.
Can you give me a hint what is this?
Thanks,
Lac
More information about the Scratchbox-users
mailing list