SAX2: pull interface
david at megginson.com
Thu Jan 20 13:58:43 GMT 2000
Steinar Bang <sb at metis.no> writes:
> >>>>> David Megginson <david at megginson.com>:
> > 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 megginson.com
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom at ic.ac.uk 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