thanks, but that is not really what I am looking for. My requirement summed up is a Parser that instead of passing it an InputStream that it reads from when it wants to, you write to the parser and it parses as much of the data as it can and returns back to you. The parser would be in a paused state until you write to it again. Right now all the parsers read from an input stream until the stream is empty. thanks if you think of something else,
Dean

Lance Lavandowska wrote:

I'm not entirely sure I understand your requirements, but perhaps there is something here
http://weblogs.flamefew.net/bayard/archives/000286.html
that can help?

Lance

Dean Hiller wrote:


We are using nio, so we need a truly oriented push SAX parser. Does
anyone know if a parser like this exists? I want to integrate one if
there is one with castor.

For example, you would call Parser.write(char[]) many many times and the
Parser would start calling startElement/endElement as data was written.
The SAX would pause caching unprocessed data when write is not being
called such as an incompleted element(ie

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to