OK, my second question: can I disable STAX signals and cause them to throw
errors? I need to know the exact location that caused the error instead of
asynchronous error handling.
2008/5/16 David Bender <[EMAIL PROTECTED]>:
>
> The STAXEmptyList signal is just informational...it does not terminate the
> job. You can override the STAXEmptyList signal to perform any set of tasks,
> or add a check to determine if the list is empty.
>
> The following thread in the Help forum describes overriding the default
> signal handler for STAXEmptyList.
> https://sourceforge.net/forum/message.php?msg_id=3824933
> It includes an example of adding an <if> element that checks if a list is
> empty and does whatever you want, instead of adding a signalhandler for a
> STAXEmptyList signal.
>
> David Bender
> STAF/STAX Development
> 8-1268 (512-838-1268)
> IBM Austin Bldg. 903-5B002
> Internet: [EMAIL PROTECTED]
>
>
>
> *"Ahmed Mostafa" <[EMAIL PROTECTED]>*
> Sent by: [EMAIL PROTECTED]
>
> 05/16/2008 01:04 AM
> To
> STAF <staf-users@lists.sourceforge.net> cc
> Subject
> [staf-users] [STAX] Disable STAX signals
>
>
>
>
> Hello,
> 1. Why does STAX raise a STAXEmptyList signal for the empty list
> ([]) while Python 2.1 allows iteration on empty lists (just ignore them)?
> 2. Can I disable STAX signals and cause them all to stop execution
> or throw errors? I need to know the exact location that caused the error
> instead of asynchronous error handling.
> Thanks
> --
> Ahmed Mostafa
> 0123919750*
> [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>
> Software Developer
> IBM Egypt, Cairo Technology Development Center
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
>
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
> staf-users mailing list
> staf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/staf-users
>
>
--
Ahmed Mostafa
0123919750
[EMAIL PROTECTED]
Software Developer
IBM Egypt, Cairo Technology Development Center
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users