xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel A Paraz <...@free.net.ph>
Subject Re: How to start writing a non-blocking SAX parser
Date Sun, 28 Apr 2002 09:15:39 GMT
On Fri, Apr 26, 2002 at 06:20:00PM +0100, Nick Kew wrote:
> On Sat, 27 Apr 2002, Miguel A Paraz wrote:
> 
> > I'm just going through the stream and calling the content handler in the
> > same way the blocking parse() method does.
> 
> This is normal with SAX in those libraries I've used (expat, Xerces,
> libxml2).  You just need to select a parse mode that gets its input
> via a callback, and then provide a non-blocking callback.  Indeed,
> you can do the same with DOM, though there's less to gain by it.

I couldn't find a SAX parse mode that gets input via a callback.
The variations of SAXParser.parse() vary on their input (File, InputSource,
InputStream or URI).  What did I miss?

Thanks.


-- 
Miguel A Paraz             <mparaz@mparaz.com>	Mobile: +63-916-423-7922
Imperium Technology, Inc.  <map@imperium.ph>	Office: +63-2-812-3155


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message