- From: incike fincike <sarimarton@gmail.com>
- Date: Wed, 18 Sep 2019 01:14:08 +0200
- To: www-voice@w3.org
- Message-Id: <CE47A227-B70B-4845-A4DB-ED31BC43E866@gmail.com>
Hi,
Some of the examples in the SCXML specification contain indentation errors.
1. https://www.w3.org/TR/scxml/#MicrowaveParallel
<state id="engine">
<initial>
<transition target="off"/>
</initial>
<>
<state id="on">
<initial>
<transition target="idle"/>
</initial>
<>
<state id="open">
<transition event="door.close" target="closed"/>
</state>
<>
2. https://www.w3.org/TR/scxml/#N11630
<state id="wrapper" initial="on">
<state id="on" initial="ready">
<>
<state id="result">
</state>
<transition event="OPER" target="opEntered" />
<>
3. There are many other 1-character misindentations throughout the whole document which looks unprofessional in a normative document:
<transition event="DIGIT">
<assign location="short_expr" expr="short_expr+_event.name.substr(_event.name.lastIndexOf('.')+1)" />
<send event="DISPLAY.UPDATE" />
</transition>
<>
<send target="http://example.com/send/target" type="'http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor'">
<content>
<a xmlns="">fffff</a>
</content>
</send>
<>
etc., not to mention that the xml blocks differ in indentation length, some of them uses 4 spaces, some uses 2.
I suggest to run all the xml insertions through an automatic xml formatter.
Regards,
Marton Sari
Received on Monday, 23 September 2019 14:41:27 UTC