You either throw an exception (which is not derived from any of the parser's
base exception classes so that it won't catch it) or you use the progressive
parse functionality (see the PParse example.)
--------------
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 3:53 PM
To: [EMAIL PROTECTED]
Subject: RE: Stopping a SAX, Mail archive down
I have not tried this ... but the parseFirst() and parseNext() calls of the
SAXParser class are something that may give you some lead ....
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 03, 2001 3:35 PM
> To: [EMAIL PROTECTED]
> Subject: Stopping a SAX, Mail archive down
>
>
> What's the best way to stop a SAX parse if you find what
> you need near the top of a very large document?
>
> I haven't scanned the mail archive. It appears to be down.
>
> Cheers,
> Walker
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]