RE: Stopping in the middle of a parse

2001-07-12 Thread Ken Crismon
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

Re: Stopping in the middle of a parse

2001-07-11 Thread Joseph_Kesselman
>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

RE: Stopping in the middle of a parse

2001-07-11 Thread Erik Schroeder
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,

Stopping in the middle of a parse

2001-07-11 Thread Williamson, Siehnai
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.