|
bugreport kXML-RPC: msg#00038java.enhydra.general
Hey, i got problems parsing XML-RPC responses that contains whitespaces. So i had a look into the sourcecode and found out that in class XmlRpcParser in function parseParams there is a little bug. The param elements is allowed to be followed by a value element. If there are whitespaces between the param and the value element i get an parsing exception. I fixed the bug by adding a call of the skip method which is consuming whitespaces before reading the value element. Line 141 : parser.read( Xml.START_TAG, "", "param" ); Line 142 : // Retrieve a Java representation of the XML-RPC parameter value I added a Line (143) parser.skip(); Since i couldnt find anything like this in the cvs i suggest to include this bugfix in the next release. Hope to hear from you. Best regards, Heiko Milke!
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Dods: Re: Caching Issue, Sinisa Milosevic |
|---|---|
| Next by Date: | bugreport kXML-RPC, Heiko Milke |
| Previous by Thread: | Mail4Me on Samsung E700, Roberto Fresco |
| Next by Thread: | bugreport kXML-RPC, Heiko Milke |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |