2788N/A<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2788N/A<!DOCTYPE stax SYSTEM "/stax.dtd">
2788N/A<!--
2788N/A ! CDDL HEADER START
2788N/A !
2788N/A ! The contents of this file are subject to the terms of the
2788N/A ! Common Development and Distribution License, Version 1.0 only
2788N/A ! (the "License"). You may not use this file except in compliance
2788N/A ! with the License.
2788N/A !
6982N/A ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
6982N/A ! or http://forgerock.org/license/CDDLv1.0.html.
2788N/A ! See the License for the specific language governing permissions
2788N/A ! and limitations under the License.
2788N/A !
2788N/A ! When distributing Covered Code, include this CDDL HEADER in each
6982N/A ! file and include the License file at legal-notices/CDDLv1_0.txt.
6982N/A ! If applicable, add the following below this CDDL HEADER, with the
6982N/A ! fields enclosed by brackets "[]" replaced with your own identifying
6982N/A ! information:
2788N/A ! Portions Copyright [yyyy] [name of copyright owner]
2788N/A !
2788N/A ! CDDL HEADER END
2788N/A !
3215N/A ! Copyright 2008 Sun Microsystems, Inc.
2788N/A ! -->
2788N/A<stax>
2788N/A
2788N/A <defaultcall function="signals" />
2788N/A
2788N/A <function name="signals">
2788N/A <function-prolog>
2788N/A This function contains all signal related functions
2788N/A </function-prolog>
2788N/A <function-no-args/>
2788N/A <sequence>
2788N/A
2788N/A <!-- Signal variables -->
2788N/A <script>
2788N/A SignalRaised=''
2788N/A </script>
2788N/A
2788N/A <!-- Redefine the default signal handlers-->
2788N/A <call function="'OverideDefaultSignals'"/>
2788N/A
2788N/A </sequence>
2788N/A
2788N/A </function>
2788N/A
2788N/A <function name="OverideDefaultSignals">
2788N/A <function-prolog>
2788N/A This function overides the default STAX signal handlers
2788N/A </function-prolog>
2788N/A <function-no-args/>
2788N/A
2788N/A <!-- STAXPythonEvaluationError signal -->
2788N/A <signalhandler signal="'STAXPythonEvaluationError'">
2788N/A <sequence>
2788N/A
2788N/A <log level="'error'" message="1">
2788N/A ('STAXPythonEvaluationError signal raised. ' + 'Continuing job. %s' % (STAXPythonEvalMsg))
2788N/A </log>
2788N/A
2788N/A <script>
2788N/A SignalRaised='STAXPythonEvaluationError'
2788N/A </script>
2788N/A
2788N/A <message>'SignalRaised = %s' % SignalRaised</message>
2788N/A
2788N/A </sequence>
2788N/A </signalhandler>
2788N/A
2788N/A </function>
2788N/A
2788N/A</stax>