Search the web
Sign In
New User? Sign Up
xmlpull-user
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
add a hasNext() method to the API   Message List  
Reply | Forward Message #23 of 308 |
Hi,
i try to implement an XML protocol (SOAP like)
using asynchronous I/O (using java.nio.Buffer).

I've a little problem because, i receive a
buffer (a fragment of the document) and i
want to parse it.
If i use next() method, i recieved an exception
at the end of the buffer.

I've two solutions to workaround, first, catch the
exception, poor performance, second solution, use
a wait/notify mecanism, but must create a thread, etc...
not an asynchronous solution anymore.

I think that add a method hasNext() could resolve
my problem.

What do you think about that ??

Remi




Mon Feb 10, 2003 9:37 am

kl_account
Offline Offline
Send Email Send Email

Forward
Message #23 of 308 |
Expand Messages Author Sort by Date

Hi, i try to implement an XML protocol (SOAP like) using asynchronous I/O (using java.nio.Buffer). I've a little problem because, i receive a buffer (a...
kl_account <forax@...>
kl_account
Offline Send Email
Feb 10, 2003
9:37 am

... interesting project! ... i would call it *big* problem :-) ... i think that pull parser may not be the solution to your requirements but implementing it...
Aleksander Slominski
as10m
Offline Send Email
Feb 10, 2003
6:28 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help