I would like to write a STAX File containing all the signal handlers I need.
In the STAX syntax I cannot import this file if not in a STAX function, is
it right?
If I import it in a function my thread doesn't see the signal handler
created.

My example is the following:

main xml:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE stax SYSTEM "stax.dtd">

<stax>

<defaultcall function="defaultcall"/>

<function name="defaultcall" scope="local">
<function-prolog>
This is the function called to start the test
</function-prolog>

<sequence>
<import file="'signal_handlers.xml'"/>
......
.....
.....
.....
</sequence></function></stax>


signal_handlers.xml:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE stax SYSTEM "stax.dtd">

<stax>

<signalhandler signal="'health_monitor_end'">
<sequence>
 <message>'signalhandler health_monitor_end ends the monitor'</message>
<terminate block="'main.Healt_Monitor'"/>
 </sequence>
</signalhandler>


</stax>

why signal handler is not handled and I get error:
"No signal handler exists associated with element raise" ?

Regards.

Luca.
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to