Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.12.2
-
None
Description
When Toggling on Full Namespace in the Scxml designer, state names are generated like parentState::thisState.
The QScxmlStateMachine::fromFile fails with SCXML Parser error: parentState::thisState is not a valid XML ID.
Tracking that down in the source, and without spending a lot of time looking, it looks like isValidToken(state->id, XmlNCName) should maybe be called with a tokenType == XmlNmtoken instead.
Thanks!
Attachments
Issue Links
- relates to
-
QTCREATORBUG-25556 SCXML Designer should not use double colons in state names
- Reported
-
QTBUG-89845 Qt SCXML: Bug triaging/ fixing
- Closed