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

tst_Parser::error(invalidstatemachinename.scxml) fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.8.0 Alpha
    • Fix Version/s: 5.8.0 Alpha
    • Component/s: XML: SCXML
    • Labels:
      None
    • Environment:
      OS X 10.11.6
    • Commits:
      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

        For Gerrit Dashboard: QTBUG-55106
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            erikv Erik Verbruggen
            Reporter:
            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