From: Zach B. <zb...@fo...> - 2005-08-27 09:21:10
|
On Saturday, 08/27/2005, 10:39 +0200 Armin Bauer wrote: > Hi Norm and Zach, > > you can safely ignore this error. I just says that it cannot access the > dtd. But i disabled this anyways... i just didnt find a way yet to get > rid of this error message. FWIW, I did eventually get rid of the error without recompiling libwbxml2 by setting up the XML catalog---and I even think I did it correctly ;o). I can explain here what I did, if you think it may be of use to others. > The problem with your connection is probably that my syncml parser > cannot parse the incoming syncml correctly. i implemented the parser so > that it exits immediatly when there is anything it does not know. > > If you send me the traces of this connection i will be able to fix this. I've attached my trace file; let me know if you need anything else. Here's also a bit of extra info that I found while trying to sort out the problem; I don't know if any of it is in the trace file or not :o) Using Ethereal, I captured the HTTP traffic between the phone and my server, and I noticed that every time the phone connects and sends a request, the server returns "500 No node at all". Looking through the libsyncml (and with the help of a printf ;o) I determined it was coming from the _smlXmlParserExpectNode function in parser/sml_xml.c. That's as far as I got (well, OK, I also tried converting the WBXML to "normal" XML using a Perl module, but I couldn't get it to work). Thanks for offering to help! I can send the captured network traffic, too, if that would help. Zach |