Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 4.5.0, Qt Creator 4.6.0-beta1
-
None
Description
The SCXML editor uses two colons :: as a namespace delimiter, but the colon is not a valid character in XML IDs. This causes the qscxml compiler to fail to compile the state chart. I think a period should be used instead of the double colon.
To reproduce (assuming SCXML editor is already enabled):
- Create a new Qt Widgets project.
- Add a new SCXML state chart.
- Add "QT += scxml" to the .pro file.
- Within the state chart editor, create an empty state.
- Add another empty state within that state.
- Compiling the application at this point should work fine.
- But now, enable the "Toggle Full Namespace" option.
- Upon attempting to recompile, you will get errors like:
error: 'State_1::State_2' is not a valid XML ID