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

Cannot compile Full Namespace Scxml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.12.2
    • XML: SCXML
    • None
    • Linux/Wayland

    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

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes