[Expat-discuss] Can expat interrupt processing?

Karl Waclawek karl at waclawek.net
Wed Mar 5 15:19:27 EST 2003


> Can expat interrupt processing? Say you encounter an error in the start
> element handler and want to bail?

This question comes up from time to time.
If you are using it from C++, throw an exception.
In C, use setjmp/longjmp if your compiler supports it.
>From other languages it will depend. 
With Delphi it works raising an exception, just like with C++.

Karl



More information about the Expat-discuss mailing list