Title: Stopping in the middle of a parse
Could
you through an exception SAXParseException from your handler. Prior to
throwing the exception set a flag in the handler that the catch checks. If
the flag is set to PrematureExit instead of PareError then you will have
effectively exited the
>How do you prematurely end parsing, using the parse() method of the SAX
parser,
>without using the progressive parsing methods like parseNext(). Can you?
Throw an exception from your handler. That really is the standard solution.
If you throw a recognizable exception, the routine which invoked
Throw an exception from within your document handler when it is time to
prematurely end the parse.
-Original Message-
From: Williamson, Siehnai
To: '[EMAIL PROTECTED]'
Sent: 7/11/01 3:45 PM
Subject: Stopping in the middle of a parse
Hi,
How do you prematurely end parsing,
Title: Stopping in the middle of a parse
Hi,
How do you prematurely end parsing, using the parse() method of the SAX parser, without using the progressive parsing methods like parseNext(). Can you?
Siehnai Williamson
DocuCorp International, Inc.