1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
|
<?xml version="1.0" encoding="WINDOWS-1252"?>
<!-- http://www.cl.cam.ac.uk/~mgk25/ucs/examples/quickbrown.txt -->
<scxml:scxml xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance" xmlns:scxml="http://www.w3.org/2005/07/scxml" initial="init" version="1.0" datamodel="ecmascript">
<scxml:datamodel>
<scxml:data id="VarTmp"/>
<scxml:data id="Var1" expr="'Quizdeltagerne spiste jordbær med fløde, mens cirkusklovnen Wolther spillede på xylofon.'"/>
<scxml:data id="Var2" expr="'Heizölrückstoßabdämpfung'"/>
<scxml:data id="Var3" expr="' '"/>
<scxml:data id="Var4" expr="'The quick brown fox jumps over the lazy dog'"/>
<scxml:data id="Var5" expr="'El pingüino Wenceslao hizo kilómetros bajo exhaustiva lluvia y frío, añoraba a su querido cachorro'"/>
<scxml:data id="Var6" expr="'Le cœur déçu mais l`âme plutôt naïve, Louÿs rêva de crapaüter en canoë au delà des îles, près du mälström où brûlent les novæ'"/>
<scxml:data id="Var7" expr="'D`fhuascail Íosa, Úrmhac na hÓighe Beannaithe, pór Éava agus Ádhaimh'"/>
<scxml:data id="Var8" expr="'Árvíztr tükörfúrógép'"/>
<scxml:data id="Var9" expr="'Kæmi ný öxi hér ykist þjófum nú bæði víl og ádrepa'"/>
<scxml:data id="Var10" expr="' '"/>
<scxml:data id="Var11" expr="' '"/>
<scxml:data id="Var12" expr="'? '"/>
<scxml:data id="Var13" expr="'Pchn w t ód jea lub om skrzy fig'"/>
<scxml:data id="Var14" expr="' ? , !'"/>
<scxml:data id="Var15" expr="' '"/>
<scxml:data id="Var16" expr="'Pijamal hasta, yaz oföre çabucak güvendi'"/>
</scxml:datamodel>
<scxml:state id="init">
<scxml:onentry>
<scxml:send event="danish" namelist="Var1"/>
<scxml:send event="german" namelist="Var2"/>
<scxml:send event="greek" namelist="Var3"/>
<scxml:send event="english" namelist="Var4"/>
<scxml:send event="spanish" namelist="Var5"/>
<scxml:send event="french" namelist="Var6"/>
<scxml:send event="gaelic" namelist="Var7"/>
<scxml:send event="hungarian" namelist="Var8"/>
<scxml:send event="icelandic" namelist="Var9"/>
<scxml:send event="hiragana" namelist="Var10"/>
<scxml:send event="katakana" namelist="Var11"/>
<scxml:send event="hebrew" namelist="Var12"/>
<scxml:send event="polish" namelist="Var13"/>
<scxml:send event="russian" namelist="Var14"/>
<scxml:send event="thai" namelist="Var15"/>
<scxml:send event="turkish" namelist="Var16"/>
<scxml:send event="done"/>
</scxml:onentry>
<scxml:transition target="idle"/>
</scxml:state>
<scxml:state id="idle"/>
<scxml:transition event="done" target="pass"/>
<scxml:transition event="danish" cond="Var1=='Quizdeltagerne spiste jordbær med fløde, mens cirkusklovnen Wolther spillede på xylofon.'" target="danish">
<scxml:assign location="VarTmp" expr="_event.data.Var1"/>
</scxml:transition>
<scxml:state id="danish">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="german" cond="Var2=='Heizölrückstoßabdämpfung'" target="german">
<scxml:assign location="VarTmp" expr="_event.data.Var2"/>
</scxml:transition>
<scxml:state id="german">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="greek" cond="Var3==' '" target="greek">
<scxml:assign location="VarTmp" expr="_event.data.Var3"/>
</scxml:transition>
<scxml:state id="greek">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="english" cond="Var4=='The quick brown fox jumps over the lazy dog'" target="english">
<scxml:assign location="VarTmp" expr="_event.data.Var4"/>
</scxml:transition>
<scxml:state id="english">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="spanish" cond="Var5=='El pingüino Wenceslao hizo kilómetros bajo exhaustiva lluvia y frío, añoraba a su querido cachorro'" target="spanish">
<scxml:assign location="VarTmp" expr="_event.data.Var5"/>
</scxml:transition>
<scxml:state id="spanish">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="french" cond="Var6=='Le cœur déçu mais l`âme plutôt naïve, Louÿs rêva de crapaüter en canoë au delà des îles, près du mälström où brûlent les novæ'" target="french">
<scxml:assign location="VarTmp" expr="_event.data.Var6"/>
</scxml:transition>
<scxml:state id="french">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="gaelic" cond="Var7=='D`fhuascail Íosa, Úrmhac na hÓighe Beannaithe, pór Éava agus Ádhaimh'" target="gaelic">
<scxml:assign location="VarTmp" expr="_event.data.Var7"/>
</scxml:transition>
<scxml:state id="gaelic">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="hungarian" cond="Var8=='Árvíztr tükörfúrógép'" target="hungarian">
<scxml:assign location="VarTmp" expr="_event.data.Var8"/>
</scxml:transition>
<scxml:state id="hungarian">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="icelandic" cond="Var9=='Kæmi ný öxi hér ykist þjófum nú bæði víl og ádrepa'" target="icelandic">
<scxml:assign location="VarTmp" expr="_event.data.Var9"/>
</scxml:transition>
<scxml:state id="icelandic">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="hiragana" cond="Var10==' '" target="hiragana">
<scxml:assign location="VarTmp" expr="_event.data.Var10"/>
</scxml:transition>
<scxml:state id="hiragana">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="katakana" cond="Var11==' '" target="katakana">
<scxml:assign location="VarTmp" expr="_event.data.Var11"/>
</scxml:transition>
<scxml:state id="katakana">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="hebrew" cond="Var12=='? '" target="hebrew">
<scxml:assign location="VarTmp" expr="_event.data.Var12"/>
</scxml:transition>
<scxml:state id="hebrew">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="polish" cond="Var13=='Pchn w t ód jea lub om skrzy fig'" target="polish">
<scxml:assign location="VarTmp" expr="_event.data.Var13"/>
</scxml:transition>
<scxml:state id="polish">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="russian" cond="Var14==' ? , !'" target="russian">
<scxml:assign location="VarTmp" expr="_event.data.Var14"/>
</scxml:transition>
<scxml:state id="russian">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="thai" cond="Var15==' '" target="thai">
<scxml:assign location="VarTmp" expr="_event.data.Var15"/>
</scxml:transition>
<scxml:state id="thai">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:transition event="turkish" cond="Var16=='Pijamal hasta, yaz oföre çabucak güvendi'" target="turkish">
<scxml:assign location="VarTmp" expr="_event.data.Var16"/>
</scxml:transition>
<scxml:state id="turkish">
<scxml:transition cond="" target="idle"/>
<scxml:transition target="fail"/>
</scxml:state>
<scxml:final id="pass">
<scxml:onentry>
<scxml:log label="Outcome" expr="'pass'"/>
</scxml:onentry>
</scxml:final>
<scxml:final id="fail">
<scxml:onentry>
<scxml:log label="Outcome" expr="'fail'"/>
</scxml:onentry>
</scxml:final>
</scxml:scxml>
|