OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX2: pull interface

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: xml-dev@ic.ac.uk
  • Date: 20 Jan 2000 08:57:25 -0500

Steinar Bang <sb@metis.no> writes:

> >>>>> David Megginson <david@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

-- 
David Megginson                 david@megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk 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.






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS