Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75096

Cannot compile Full Namespace Scxml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 5.12.2
    • State Machine: SCXML
    • None
    • Linux/Wayland

      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!

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            tamasmartinec Tamas Martinec
            wpmccormick Bill McCormick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes