SAX2: pull interface

Lars Marius Garshol larsga at
Thu Jan 20 09:10:28 GMT 2000

* 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 at
Archived as: or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.

More information about the Xml-dev mailing list