RE: Kuddi: Is this still active

"Nick Randell" <[email protected]> Wed, 27 Nov 2002 06:23:39 -0000
Newsgroups gmane.comp.java.enhydra.kxmlrpc
Message-ID <[email protected]>
Yes it is. I've fixed it, but would obviously like to get this back into the
mainstream. All you need to do is add

parser.read(Xml.START_TAG, "", "data");
parser.skip();

before the loop in XmlRpcParser.parseArray()

and

parser.read(Xml.END_TAG, "", "data");
parser.skip();

after the loop!

And it should all spring into life

Nick


> -----Original Message-----
> From: [email protected] [mailto:[email protected]]On
> Behalf Of Kevin O'Rourke
> Sent: 26 November 2002 21:14
> To: [email protected]
> Subject: Re: Kuddi: Is this still active
>
>
> Hi,
>
> if it is still alive it's very quiet.
>
> On Tuesday 26 November 2002 10:19, Nick Randell wrote:
> > Is kxml-rpc still active? I can't see any archives on the web site?
> >
> > If it is still active, has anyone used it with methods
> containing arrays?
> > I've just found a bug in this.
>
> I've been having problems with methods returning arrays:
> org.kxml.io.ParseException: unexpected: StartTag <data> line: -1
> attr: null
> @-1:-1
>         at org.kxml.parser.AbstractXmlParser.read(+53)
>         at org.kxmlrpc.XmlRpcParser.parseValue(+15)
>         at org.kxmlrpc.XmlRpcParser.parseArray(+23)
>         at org.kxmlrpc.XmlRpcParser.parseValue(+241)
>         at org.kxmlrpc.XmlRpcParser.parseParams(+46)
>         at org.kxmlrpc.XmlRpcParser.parseResponse(+144)
>         at org.kxmlrpc.XmlRpcClient.execute(+200)
>         at MEblog.getBlogs(+59)
>         at MEblog.commandAction(+36)
>         at
> javax.microedition.lcdui.Display$DisplayAccessor.commandAction(+152)
>         at com.sun.kvem.midp.lcdui.EmulEventHandler$EventLoop.run(+459)
>
> Is this similar to the problem you're having?
>
> Kevin.
>
> --
> Kevin O'Rourke
> http://www.caboose.org.uk
>
> _______________________________________________
> Kuddi mailing list
> [email protected]
> http://support.enhydra.org/mailman/listinfo.cgi/kxmlrpc
>