fmorbini / scxmlgui

A graphical user interface for editing SCXML finite state machines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Substates Of Different States Cannot have Same Name

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1.Now SCXML ID is displayed as the state's name.  
2.2 Substates under different states cannot use the same name as this becomes 
duplicate id in the scxml file.

What is the expected output? What do you see instead?
Can we display something else as the state name instead of using the id? It 
does not sound right if 2 independent substates of different states cannot use 
the same name.

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by msqwe...@yahoo.com on 11 Nov 2012 at 7:55

all IDs must be unique.
Please refer to the scxml standard when in doubt of what is or is not allowed: 
http://www.w3.org/TR/scxml/#IDs

i didn't find another field that can be used for a custom name or so. But you 
can add a comment to better explain what each state is without having to depend 
to a unique and also self-explanatory state ID.

Original comment by fmorbini on 11 Nov 2012 at 4:52

  • Changed state: Invalid