commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spam.spam.spam.s...@free.fr
Subject Bad attribute used on the usecase 1
Date Thu, 13 Dec 2012 08:42:02 GMT
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


Mime
View raw message