abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: Async Parsing?
Date Wed, 12 Jul 2006 22:39:27 GMT
On 7/12/06, James M Snell <jasnell@gmail.com> wrote:
> Right now documents are parsed incrementally.  When I
> Parser.INSTANCE.parse(...) what I'm handed back is not yet a fully
> parsed document.  As I go through the various getters, the document is
> parsed up to whatever point it needs to answer that method call.  It
> could definitely be better, however.

Sure, but if you call getRoot() it's still going to block until it
reads enough off of the InputStream to parse the root element, right?
There's no nonblocking interface.

-garrett

Mime
View raw message