Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20865

XML Parser fails with double dashes

    XMLWordPrintable

Details

    Description

      QtCreator's XML parser/highlighter seems to be unable to handle comments when they contain double dashes ("--").

      While typing the double dashes in the plain text editor, QtCreator will display red underlines (syntax error). After closing the file, it is unable to even display it again in the plain text editor and will mark the file as "contains changes" even though there are none.

      See the attached screenshots and the AndroidManifest.xml of the demo project.

      Attachments

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

        Activity

          People

            davschul David Schulz
            gri Christoph Keller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes