Revision control
++ <?xml version="1.0" ?>
++ <!--
++ // Copyright (C) 2016 The Qt Company Ltd.
++ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
++ -->
++ <scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0"
++ name="EventOccurred" datamodel="ecmascript">
++ <parallel id="top">
++ <state id="a">
++ <state id="a1">
++ <transition event="terminate" target="a2"/>
++ </state>
++ <final id="a2"/>
++
++ <onentry>
++ <send event="terminate"/>
++ <send event="timeout" delay="1s"/>
++ </onentry>
++ <transition event="timeout" target="failure"/>
++ <transition event="done.state.a" target="success"
++ cond="_event.type === 'internal'"
++ />
++ </state>
++ <state id="b"/>
++ </parallel>
++ <final id="success"/>
++ <final id="failure"/>
++ </scxml>