Hi,
You might want to look at Javolution XPP-like parser supporting NIO
directly:
http://javolution.org/api/javolution/xml/pull/XmlPullParserImpl.html
Best regards,
Jean-Marie (Javolution project owner).
PS: XPP-Like because it uses CharSequence instead of Strings to avoid
creating objects dynamically (faster).
> Hi all,
>
> Are there any thoughts about updating the API to take advantage of the
> java.nio package, and/or read data in a non-blocking mode in general?
>
> This would require a new return token to signal back that the parser
> has temporarily ran out of bytes to parse the next entity (e.g.,
> RETRY_LATER). The whole point would then be the possibility to read
> many streams in parallel using one thread...
>
> Regards,
> /Peter
>
>
>
>
>
> YAHOO! GROUPS LINKS
> Visit your group "xmlpull-user" on the web.
> To unsubscribe from this group, send an email to:
> xmlpull-user-unsubscribe@yahoogroups.com
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>