If I detect a problem during the character processing event in SAX2 (say, if I find data that I don't like), how do I tell SAX2 to stop dead and not raise any more events?
I could just set a module-level boolean (an "ignore" flag), but then SAX would just continue, consuming CPU resources in a futile attempt to finish the XML file.
Can I just call the fatalerror event myself?
Chip H.
I could just set a module-level boolean (an "ignore" flag), but then SAX would just continue, consuming CPU resources in a futile attempt to finish the XML file.
Can I just call the fatalerror event myself?
Chip H.