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

tst_Parser::error(invalidstatemachinename.scxml) fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.8.0 Alpha
    • 5.8.0 Alpha
    • XML: SCXML
    • None
    • OS X 10.11.6
    • ece543e2388b4f6ad36e67d078ae9276cec11b45

    Description

      https://codereview.qt-project.org/#/c/166633/

      ...
      QWARN  : tst_Parser::error(invalidstatemachinename.scxml) SCXML document has no root element
       FAIL!  : tst_Parser::error(invalidstatemachinename.scxml) Compared values are not the same
          Actual   (errors.at(i).toString()): ":/tst_parser/data/invalidstatemachinename.scxml:3:42: error: Missing root element"
          Expected (expectedErrors.at(i))   : ":/tst_parser/data/invalidstatemachinename.scxml:3:55: error: scxml name 'Calculator\u0013tateMachine' is not a valid XML Nmtoken"
          Loc: [tst_parser.cpp(83)]
      ...
      

      Without the merge, with the latest qtbase/qtdeclarative/qtxmlpatterns, also could reproduce.

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes