Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to stop parse XML file

843834May 30 2002 — edited May 31 2002
When using saxParser.parse(XMLfile, handler) to parse XML file, How to stop the parsing but not exit. I catched thread interrupted in startElement(), but can not stop it because it still go through all other startElement()s and endElement()s. Is there any method or class can stop parse XML?

Appreciate your help!
Edward

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 28 2002
Added on May 30 2002
2 comments
135 views