xerces-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon.Par...@polarlake.com
Subject Unbuffered SAX
Date Tue, 12 Nov 2002 12:04:02 GMT
Good morning.

I need to interpret endless XML documents of arbitrary size, received from
the network in bursts.

I want the parser to deliver SAX events to my document handler as they
happen, more or less.

Xerces 2 processes text in chunks corresponding to the capacity of internal
buffers, and short elements are often not seen for a long time.

Xerces 1 allowed me to replace the reader factory and introduce an
unbuffered reader:
    xmlReader.setReaderFactory (new StreamingCharFactory());

The mechanism was described in a FAQ at

How can I achieve a similar effect in Xerces 2?


Simon Parker
PolarLake - Enterprise Strength XML

To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org

View raw message