Re: SAX2: pull interface
Steinar Bang <sb@m...> writes: > >>>>> David Megginson <david@m...>: > > > 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 -- David Megginson david@m... http://www.megginson.com/ xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1 Unsubscribe by posting to majordom@i... the message unsubscribe xml-dev (or) unsubscribe xml-dev your-subscribed-email@your-subscribed-address Please note: New list subscriptions now closed in preparation for transfer to OASIS.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format