You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by sp...@free.fr on 2012/12/13 09:42:02 UTC

Bad attribute used on the usecase 1

Hello,

I think I saw an error on the usecase 1 [1] XML file.

In the XML file [2], we see the "scxml" element has an "initialstate" attribute :
<scxml xmlns="http://www.w3.org/2005/07/scxml"
       version="1.0"
       initialstate="reset">

But in the W3 standard [3], we see the "scxml" element "initialstate" doesn't exist.
Instead of the "initialstate" attribute, you should use the "initial" attribute.

Is it correct?

Thank you.
Regards.

[1] http://commons.apache.org/scxml/usecases/scxml-stopwatch.html
[2] http://svn.apache.org/repos/asf/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/env/stopwatch.xml
[3] http://www.w3.org/TR/2012/WD-scxml-20121206/#scxml

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org