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: Lars Marius Garshol <larsga@garshol.priv.no>
  • To: xml-dev@ic.ac.uk
  • Date: 20 Jan 2000 10:10:25 +0100


* Steinar Bang
| 
| 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?

No. There are many recursive-descent parsers that support incremental
parsing (where data is pushed into the parser by the application).
xmllib (Python), xmlproc (Python) and expat (C, provided it is RD) do
this, at least. 

My unreleased Common Lisp parser also does this, but is not
incremental, instead it requires a stream from which it can read.

--Lars M.


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
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