SAX2: pull interface

David Megginson david at
Thu Jan 20 13:58:43 GMT 2000

Steinar Bang <sb at> writes:

> >>>>> David Megginson <david at>:
> > Personally, I like recursive-descent a lot (and probably wouldn't
> > have finished writing the original AElfred parser otherwise).  Miles
> > guesses correctly that SAX1 was push to accommodate existing
> > parsers.
> Doesn't recursive descent parsers have a problem with partial input
> received from the net?  Don't you have to buffer up the entire file
> before you start parsing?

Not per se, but most RD parsers will block waiting for the rest of the
input rather than returning control to the caller.  That's not a
problem with multiple threads, but it's sometimes very inconvenient in 
a single-threaded environment.

All the best,


David Megginson                 david at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom at the message
unsubscribe xml-dev  (or)
unsubscribe xml-dev your-subscribed-email at your-subscribed-address

Please note: New list subscriptions now closed in preparation for transfer to OASIS.

More information about the Xml-dev mailing list