<?xml version="1.0" encoding="UTF-8"?>
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" binding="early"
       name="content-expr-in-send" datamodel="ecmascript">
    <state id="top">
        <onentry>
            <send>
                <content>blah</content>
            </send>
            <send event="timeout">
                <param name="p" expr="'v'"/>
            </send>

        </onentry>

        <state id="first">
            <transition event="timeout" target="second"/>
        </state>

        <state id="second">
            <onentry>
                <send>
                    <content expr="_event.data"/>
                </send>
                <send event="timeout"/>
            </onentry>
            <transition event="timeout" target="pass"/>
        </state>
    </state>

    <final id="pass"><onentry><log label="Outcome" expr="'pass'"/></onentry></final>
    <final id="fail"><onentry><log label="Outcome" expr="'fail'"/></onentry></final>
</scxml>
