[ expat-Bugs-753375 ] infinite parsing
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.text.xml.expat.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #753375, was opened at 2003-06-12 11:50 Message generated for change (Comment added) made by kwaclaw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=753375&group_id=10127 Category: None Group: None >Status: Closed >Resolution: Rejected Priority: 5 Submitted By: Gregor SIegert (mastercaster) Assigned to: Nobody/Anonymous (nobody) Summary: infinite parsing Initial Comment: Hello all, I am receiving a SOAP response with content length > 2000 bytes, containing an array of 2 strings (2nd one very long). I traced the packets and found out that the response is split into 2 TCP packets, with the second one starting not well formed (in the middle of the second string) I would assume TCP binds them correctly together, but something goes wrong. I furthermore see that I receive a infinite parsing (using easysoap, newest version, expat 1.95.6) Smaller responses with all the same params are ok. Can someone help me out with this? I struggle here for days. Maybe a hint what I could do? Regards, Gregor ---------------------------------------------------------------------- >Comment By: Karl Waclawek (kwaclaw) Date: 2003-06-16 09:19 Message: Logged In: YES user_id=290026 Does not seem to be a bug. Closed. ---------------------------------------------------------------------- Comment By: Gregor SIegert (mastercaster) Date: 2003-06-16 07:22 Message: Logged In: YES user_id=764177 (closed) I found the problem, tx for the effort. I used #define XML_Unicode. Therefore the encoding was not recognized. (unknown encoding) ... tx for the effort ---------------------------------------------------------------------- Comment By: Karl Waclawek (kwaclaw) Date: 2003-06-12 12:49 Message: Logged In: YES user_id=290026 I suggest you also submit a report to the EasySoap team. Lets' see what they have to say. It seems part of your error message is missing. ---------------------------------------------------------------------- Comment By: Gregor SIegert (mastercaster) Date: 2003-06-12 12:40 Message: Logged In: YES user_id=764177 You could be right, I did some more digging, easysoap tries to read 1024 Bytes from the HTTP payload and sends this to the expat parser (while(1) loop). So they might be responsible for the mess, because they are responsible to collect the buffer initially. Is this error message significant for this problem? : Error while parsing SOAP XML payload: u ---------------------------------------------------------------------- Comment By: Karl Waclawek (kwaclaw) Date: 2003-06-12 11:56 Message: Logged In: YES user_id=290026 You need to be more specific. From what you tell it is impossible to make any conclusions as to what goes wrong. Does Expat parse correctly if you collect the complete response in a buffer before submitting it to Expat? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=753375&group_id=10127