[XML-SIG] SAX parsing

Frank Stolze frank@quantiva.com
Tue, 13 Mar 2001 17:08:01 -0500 (EST)


Hi,


I'm trying to parse an XML stream, i.e., an "infinitely long" XML
document. I want to process XML entities in real time as they are
being read. That's why I'm using the SAX approach. However, it seems
that both the expat parser in Python 2.0 as well as the xmlproc
parser in the latest PyXML don't even start to parse until they see
an end-of-file.

Is that a "known and intented behavior" (which would be a pity as
it would make them unusable as stream parsers) or am I wrong?


Thanks,
Frank