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

Add schema validation for scxml documents

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • XML: SCXML
    • None

    Description

      So far, we don't validate the SCXML by XML schema at all before generating code from it. This is unfortunate because we cannot be sure that we don't accept invalid scxml that will then blow up in some other place in the user's toolchain.

      In the bootstrap library we don't have a way to validate XML by schema, so it will be hard to do this in qscxmlc (as long as the build system is not overhauled to provide a fully featured host Qt). However, for runtime-loaded scxml we could provide a schema validation using QtXmlPatterns (optionally, if that is available).

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes